nixpkgs-suyu/pkgs/applications/misc/hugo/default.nix
Kier Davis 901fa266fb
hugo: 0.29 -> 0.30.2
Also requires updating the github.com/alecthomas/chroma dependency.
2017-12-29 20:00:43 +00:00

24 lines
575 B
Nix

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