3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/hugo/default.nix
2020-03-21 05:12:00 -05:00

29 lines
722 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "hugo";
version = "0.67.1";
src = fetchFromGitHub {
owner = "gohugoio";
repo = pname;
rev = "v${version}";
sha256 = "0q55f8w0drc1miqziqp8r064h7900hrgj7nixxs71cb1p8ih4cq3";
};
modSha256 = "0s7a13jkhsr6h19a9ysr8877imac5skdray0zg2qgwrapic2nw17";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
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 ];
};
}