nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildGoModule
2, fetchFromGitHub
3, lib
4}:
5
6buildGoModule rec {
7 pname = "gostatic";
8 version = "2.35";
9
10 src = fetchFromGitHub {
11 owner = "piranha";
12 repo = pname;
13 rev = version;
14 hash = "sha256-pxk9tauB7u0oe6g4maHh+dREZXKwMz44v3KB43yYW6c=";
15 };
16
17 vendorHash = "sha256-9YCt9crLuYjd+TUXJyx/EAYIMWM5TD+ZyzLeu0RMxVc=";
18
19 meta = with lib; {
20 description = "Fast static site generator";
21 homepage = "https://github.com/piranha/gostatic";
22 license = licenses.isc;
23 maintainers = with maintainers; [ urandom ];
24 };
25}