nixpkgs/pkgs/applications/misc/hugo/default.nix

25 lines
575 B
Nix
Raw Normal View History

2016-06-17 08:38:40 -07:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "hugo-${version}";
2018-01-05 02:03:57 -08:00
version = "0.32.2";
2016-06-17 08:38:40 -07:00
goPackagePath = "github.com/gohugoio/hugo";
2016-06-17 08:38:40 -07:00
src = fetchFromGitHub {
2017-06-21 06:13:31 -07:00
owner = "gohugoio";
2016-06-17 08:38:40 -07:00
repo = "hugo";
2016-10-09 09:44:25 -07:00
rev = "v${version}";
2018-01-05 02:03:57 -08:00
sha256 = "0k62sg9rvr4aqzh1r60m456cw8mj6kxjpri2nnj4c2dxmvll8qhr";
2016-06-17 08:38:40 -07:00
};
goDeps = ./deps.nix;
2016-10-09 09:44:25 -07:00
meta = {
description = "A fast and modern static website engine.";
homepage = https://gohugo.io;
maintainers = with stdenv.lib.maintainers; [ schneefux ];
license = stdenv.lib.licenses.asl20;
};
2016-06-17 08:38:40 -07:00
}