about summary refs log tree commit diff
path: root/pkgs/servers/xmpp
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2022-01-08 13:35:04 +0300
committerNikolay Amiantov <ab@fmap.me>2022-01-11 20:07:38 +0300
commitb0dacda1a253400d5ebca40d523413c51a6067f2 (patch)
treeaebfc04375c3a07cdc4580f2599f4870aaced51f /pkgs/servers/xmpp
parentf3b193a5df4df99c5da9494650877912068c5e66 (diff)
prosody-filer: init at unstable-2021-05-24
Using unstable version because the release happened more than a year
ago, and since then several important fixes have been introduced,
including security ones.
Diffstat (limited to 'pkgs/servers/xmpp')
-rw-r--r--pkgs/servers/xmpp/prosody-filer/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/servers/xmpp/prosody-filer/default.nix b/pkgs/servers/xmpp/prosody-filer/default.nix
new file mode 100644
index 0000000000000..a6de3a1047406
--- /dev/null
+++ b/pkgs/servers/xmpp/prosody-filer/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "prosody-filer";
+  version = "unstable-2021-05-24";
+
+  vendorSha256 = "05spkks77x88kc31c1zdg1cbf9ijymjs7qzmhg4c6lql5p2h5fbd";
+
+  src = fetchFromGitHub {
+    owner = "ThomasLeister";
+    repo = "prosody-filer";
+    rev = "c65edd199b47dc505366c85b3702230fda797cd6";
+    sha256 = "0h6vp5flgy4wwmzhs6pf6qkk2j4ah8w919dwhfsq4wdpqs78kc0y";
+  };
+
+  doCheck = false;
+
+  meta = with lib; {
+    homepage = "https://github.com/ThomasLeister/prosody-filer";
+    maintainers = with maintainers; [ abbradar ];
+    license = licenses.mit;
+    platforms = platforms.linux;
+    description = "A simple file server for handling XMPP http_upload requests";
+ };
+}