forked from mirrors/nixpkgs
3f97bcaf2d
This release includes a move to a new github organization.
25 lines
570 B
Nix
25 lines
570 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "hugo-${version}";
|
|
version = "0.23";
|
|
|
|
goPackagePath = "github.com/gohugoio/hugo";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "spf13";
|
|
repo = "hugo";
|
|
rev = "v${version}";
|
|
sha256 = "0phw5pcmrmryxb83jzifhqh3vx20qiwh4dkk802v38fw07z1hvki";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|