2016-06-17 16:38:40 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "hugo-${version}";
|
2017-06-13 20:40:45 +01:00
|
|
|
version = "0.22.1";
|
2016-06-17 16:38:40 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/spf13/hugo";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "spf13";
|
|
|
|
repo = "hugo";
|
2016-10-09 17:44:25 +01:00
|
|
|
rev = "v${version}";
|
2017-06-13 20:40:45 +01:00
|
|
|
sha256 = "0m459np11izsflwdja6k0znaxvd8zpgivvswnq9501m49h8m4x7q";
|
2016-06-17 16:38:40 +01:00
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-10-09 17:44:25 +01: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 16:38:40 +01:00
|
|
|
}
|