mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
25 lines
573 B
Nix
25 lines
573 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "hugo-${version}";
|
|
version = "0.26";
|
|
|
|
goPackagePath = "github.com/gohugoio/hugo";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gohugoio";
|
|
repo = "hugo";
|
|
rev = "v${version}";
|
|
sha256 = "1g2brxhc6lyl2qa41lrqw2hadl601inmshsxlpmv99ax67sa19d1";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|