nixpkgs/pkgs/applications/misc/hugo/default.nix
2017-07-10 00:07:31 -07:00

24 lines
575 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "hugo-${version}";
version = "0.25.1";
goPackagePath = "github.com/gohugoio/hugo";
src = fetchFromGitHub {
owner = "gohugoio";
repo = "hugo";
rev = "v${version}";
sha256 = "09cyms74y9dw58npvj89bfhwc23phs1wqbzajjgl72rfgh83a1bz";
};
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;
};
}