about summary refs log tree commit diff
path: root/pkgs/duckling-proxy/default.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-11-14 18:54:19 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-11-14 18:54:19 +0100
commit1e533f14f83c8f2ca1e534c0ee410f19c90bf59a (patch)
treea51b24dec10c555fb85f0fb9bce85a45af07ee89 /pkgs/duckling-proxy/default.nix
parent74cc8d0e7160fc3ccec46761e7ac34364eafcadc (diff)
downloadpnpkgs-1e533f14f83c8f2ca1e534c0ee410f19c90bf59a.tar.gz
pnpkgs-1e533f14f83c8f2ca1e534c0ee410f19c90bf59a.zip
Add duckling-proxy
Diffstat (limited to 'pkgs/duckling-proxy/default.nix')
-rw-r--r--pkgs/duckling-proxy/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/duckling-proxy/default.nix b/pkgs/duckling-proxy/default.nix
new file mode 100644
index 0000000..11e9bd6
--- /dev/null
+++ b/pkgs/duckling-proxy/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, lib, fetchFromGitHub, buildGoModule }:
+with stdenv.lib;
+
+buildGoModule {
+  name = "duckling-proxy";
+
+  src = fetchFromGitHub {
+    owner = "LukeEmmet";
+    repo = "duckling-proxy";
+    rev = "cdb5f327b780d058b2da72026143ad6755afece5";
+    sha256 = "1r8wmwydx8asi8ixyrbw9139vs9bjkfn4ry0jfwr54dls6xjn2s4";
+  };
+
+  vendorSha256 = "0wxk1a5gn9a7q2kgq11a783rl5cziipzhndgp71i365y3p1ssqyf";
+  # vendorSha256 = lib.fakeSha256;
+
+  meta = {
+    description = "Duckling proxy is a Gemini proxy to access the Small Web";
+    homepage = "https://github.com/LukeEmmet/duckling-proxy";
+    license = "MIT";
+    platforms = platforms.linux;
+  };
+}