summary refs log tree commit diff
path: root/pkgs/applications/misc/gostatic/default.nix
blob: 240df1a9136345b6379e0449a7aba5ff8d4878dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 ];
  };
}