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

25 lines
569 B
Nix
Raw Normal View History

2016-06-17 18:38:40 +03:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "hugo-${version}";
2017-04-25 11:27:14 +03:00
version = "0.20.5";
2016-06-17 18:38:40 +03:00
goPackagePath = "github.com/spf13/hugo";
src = fetchFromGitHub {
owner = "spf13";
repo = "hugo";
2016-10-09 19:44:25 +03:00
rev = "v${version}";
2017-04-25 11:27:14 +03:00
sha256 = "0gsxsxri5jivvc862a1dapij667726vs55vjqas84lsg1066q5p2";
2016-06-17 18:38:40 +03:00
};
goDeps = ./deps.nix;
2016-10-09 19:44:25 +03: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 18:38:40 +03:00
}