diff options
author | Colin Arnott <colin@urandom.co.uk> | 2022-11-26 05:56:54 +0000 |
---|---|---|
committer | Colin Arnott <colin@urandom.co.uk> | 2022-11-26 05:56:54 +0000 |
commit | 553446fdd356d0aeaf84280f74863e744a41ec4c (patch) | |
tree | f975e5657459d1fd8574b04d450821c74ecdbd6f /pkgs/applications/misc | |
parent | 401eb16105a415c01305379547e862528f897475 (diff) |
gostatic: init at 2.34
Fixes #182477
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/gostatic/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gostatic/default.nix b/pkgs/applications/misc/gostatic/default.nix new file mode 100644 index 0000000000000..5a90ebf9d814d --- /dev/null +++ b/pkgs/applications/misc/gostatic/default.nix @@ -0,0 +1,25 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "gostatic"; + version = "2.34"; + + src = fetchFromGitHub { + owner = "piranha"; + repo = pname; + rev = version; + hash = "sha256-rdbiIFRZcn9dVaF2anl2iy6FM6boz38vjn+hCpMwcis="; + }; + + 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 ]; + }; +} |