nixpkgs-suyu/pkgs/applications/misc/hugo/default.nix
2017-06-21 06:04:09 -07:00

24 lines
570 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "hugo-${version}";
version = "0.24";
goPackagePath = "github.com/gohugoio/hugo";
src = fetchFromGitHub {
owner = "spf13";
repo = "hugo";
rev = "v${version}";
sha256 = "1q398afrkmg480c2an9pyhqkbi9iw266q4svwqrvm408gzjprdzp";
};
goDeps = ./deps.nix;
meta = {
description = "A fast and modern static website engine.";
homepage = https://gohugo.io;
maintainers = with stdenv.lib.maintainers; [ schneefux ];
license = stdenv.lib.licenses.asl20;
};
}