depot/pkgs/by-name/go/gostatic/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
573 B
Nix
Raw Normal View History

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "gostatic";
version = "2.35";
src = fetchFromGitHub {
owner = "piranha";
repo = pname;
rev = version;
hash = "sha256-pxk9tauB7u0oe6g4maHh+dREZXKwMz44v3KB43yYW6c=";
};
vendorHash = "sha256-9YCt9crLuYjd+TUXJyx/EAYIMWM5TD+ZyzLeu0RMxVc=";
meta = with lib; {
description = "Fast static site generator";
homepage = "https://github.com/piranha/gostatic";
license = licenses.isc;
maintainers = with maintainers; [ urandom ];
mainProgram = "gostatic";
};
}