{ stdenv, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "hugo"; version = "0.64.0"; goPackagePath = "github.com/gohugoio/hugo"; src = fetchFromGitHub { owner = "gohugoio"; repo = pname; rev = "v${version}"; sha256 = "10zbi2414c9grqhi9vcj3sczjh7hf20dihvcsirj551fmiqxrvpy"; }; modSha256 = "18wfsp3ypfxj5qljmb19kzyc5byf413nkabz5mfvq8srjhcq1ifl"; buildFlags = [ "-tags" "extended" ]; subPackages = [ "." ]; meta = with stdenv.lib; { description = "A fast and modern static website engine."; homepage = "https://gohugo.io"; license = licenses.asl20; maintainers = with maintainers; [ schneefux filalex77 Frostman ]; }; }