blob: 7e88e125d16b7435ce0f51dbb0f82cbe3b5f095b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ pkgs, stdenv, ... }:
stdenv.mkDerivation rec {
pname = "academic-webpage";
version = "2021-08-14";
buildInputs = with pkgs; [ hugo ];
src = pkgs.fetchFromGitHub {
owner = "qaristote";
repo = "academic-webpage";
rev = "${version}";
sha256 = sha256:1l8gmca95d20yc5fmd44qm3n758pf912y7q0zvr4g73dbf03h9ba;
fetchSubmodules = true;
};
phases = [ "unpackPhase" "buildPhase" ];
buildPhase = ''
hugo --destination $out
'';
}
|