2016-06-17 15:38:40 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "hugo-${version}";
|
2017-07-10 07:07:31 +00:00
|
|
|
version = "0.25.1";
|
2016-06-17 15:38:40 +00:00
|
|
|
|
2017-06-16 08:56:31 +00:00
|
|
|
goPackagePath = "github.com/gohugoio/hugo";
|
2016-06-17 15:38:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-06-21 13:13:31 +00:00
|
|
|
owner = "gohugoio";
|
2016-06-17 15:38:40 +00:00
|
|
|
repo = "hugo";
|
2016-10-09 16:44:25 +00:00
|
|
|
rev = "v${version}";
|
2017-07-10 07:07:31 +00:00
|
|
|
sha256 = "09cyms74y9dw58npvj89bfhwc23phs1wqbzajjgl72rfgh83a1bz";
|
2016-06-17 15:38:40 +00:00
|
|
|
};
|
|
|
|
|
2016-09-10 10:04:13 +00:00
|
|
|
goDeps = ./deps.nix;
|
2016-10-09 16:44:25 +00: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 15:38:40 +00:00
|
|
|
}
|