nixos/willem/services/resumee-website.nix

16 lines
466 B
Nix

{ stdenv, fetchgit, git, go, hugo }:
stdenv.mkDerivation {
name = "resumee-website";
version = "1.0";
src = fetchgit {
url = "https://git.vatthauer.xyz/leonv/resumee-website.git";
hash = "sha256-WCqkNpUWNGMW3YkrJf64FKZDgebdeOzite9XR9IHifg=";
};
nativeBuildInputs = [ git go hugo ];
buildPhase = "hugo -d $out";
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "sha256-d0I7CJLNea9QCGvrKh+LAXsrR+olj8OFmhRgSHZGPU0=";
}