nixpkgs/pkgs/applications/misc/hugo/default.nix

25 lines
573 B
Nix
Raw Normal View History

2016-06-17 17:38:40 +02:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "hugo-${version}";
2017-07-07 16:27:04 +02:00
version = "0.25";
2016-06-17 17:38:40 +02:00
goPackagePath = "github.com/gohugoio/hugo";
2016-06-17 17:38:40 +02:00
src = fetchFromGitHub {
2017-06-21 15:13:31 +02:00
owner = "gohugoio";
2016-06-17 17:38:40 +02:00
repo = "hugo";
2016-10-09 18:44:25 +02:00
rev = "v${version}";
2017-07-07 16:27:04 +02:00
sha256 = "01p063nsyhavf13cva3sdqdcc7s42gi7iry4v857f1c2i402f0zk";
2016-06-17 17:38:40 +02:00
};
goDeps = ./deps.nix;
2016-10-09 18:44:25 +02: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 17:38:40 +02:00
}