1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/applications/misc/hugo/default.nix

25 lines
573 B
Nix
Raw Normal View History

2016-06-17 16:38:40 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "hugo-${version}";
2017-09-27 22:13:33 +01:00
version = "0.29";
2016-06-17 16:38:40 +01:00
goPackagePath = "github.com/gohugoio/hugo";
2016-06-17 16:38:40 +01:00
src = fetchFromGitHub {
2017-06-21 14:13:31 +01:00
owner = "gohugoio";
2016-06-17 16:38:40 +01:00
repo = "hugo";
2016-10-09 17:44:25 +01:00
rev = "v${version}";
2017-09-27 22:13:33 +01:00
sha256 = "1vklws05534ig9rj55cqnxpqfsvns64kfdg6zjyrcpz7l0z07a33";
2016-06-17 16:38:40 +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
}