about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-11-26 12:48:47 +0100
committerGitHub <noreply@github.com>2022-11-26 12:48:47 +0100
commit7ec2980f8e645e858fc87c36ca05a144ab7ffd52 (patch)
tree21406d08b5c13721cb04acfcee702d03d858eb8b /pkgs/applications/misc
parentcc53a6e072cbb0d1af9f0ba8054771814cf78ed8 (diff)
parent553446fdd356d0aeaf84280f74863e744a41ec4c (diff)
Merge pull request #202982 from urandom2/gostatic
gostatic: init at 2.34
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/gostatic/default.nix25
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 ];
+  };
+}