3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/hugo/default.nix
2019-04-11 18:52:03 -07:00

29 lines
681 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
name = "hugo-${version}";
version = "0.55.0";
goPackagePath = "github.com/gohugoio/hugo";
src = fetchFromGitHub {
owner = "gohugoio";
repo = "hugo";
rev = "v${version}";
sha256 = "063z79m9rganzjzqvy7bg6b29m877asm5haxp0d5cb5ac7cx55rj";
};
modSha256 = "0yrwkaaasj9ihjjfbywnzkppix1y2znagg3dkyikk21sl5n0nz23";
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 ];
};
}