nixpkgs-suyu/pkgs/applications/misc/hugo/default.nix
2017-06-12 10:21:40 -07:00

24 lines
567 B
Nix

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