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