2016-06-17 17:38:40 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "hugo-${version}";
|
2016-12-27 16:18:27 +01:00
|
|
|
version = "0.18.1";
|
2016-06-17 17:38:40 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/spf13/hugo";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "spf13";
|
|
|
|
repo = "hugo";
|
2016-10-09 18:44:25 +02:00
|
|
|
rev = "v${version}";
|
2016-12-27 16:18:27 +01:00
|
|
|
sha256 = "1nmabcrq96b339in2yr2zwcd41nadr4bha3rlpyaxlzbyyhz2f81";
|
2016-06-17 17:38:40 +02:00
|
|
|
};
|
|
|
|
|
2016-09-10 12:04:13 +02:00
|
|
|
goDeps = ./deps.nix;
|
2016-10-09 18:44:25 +02: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 17:38:40 +02:00
|
|
|
}
|