2024-04-06 18:38:07 +02:00
|
|
|
{ stdenv, git, go, hugo }:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "resumee-website";
|
2024-04-06 19:07:23 +02:00
|
|
|
version = "1.0";
|
2024-04-06 18:56:09 +02:00
|
|
|
src = "./website";
|
2024-04-06 18:38:07 +02:00
|
|
|
nativeBuildInputs = [ git go hugo ];
|
2024-04-06 19:24:32 +02:00
|
|
|
phases = [ "buildPhase" ];
|
2024-04-06 18:38:07 +02:00
|
|
|
buildPhase = "hugo -d $out";
|
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHash = "sha256-k46/umNJ9Q8FsZDCRvG/YmyU3IAkL5bzTvhWxdbNXso=";
|
|
|
|
}
|