3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/hugo/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
671 B
Nix

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