about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/servefile/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/servefile/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/networking/servefile/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/networking/servefile/default.nix b/nixpkgs/pkgs/tools/networking/servefile/default.nix
new file mode 100644
index 000000000000..a901182635cb
--- /dev/null
+++ b/nixpkgs/pkgs/tools/networking/servefile/default.nix
@@ -0,0 +1,23 @@
+{ buildPythonApplication, lib, fetchurl }:
+
+buildPythonApplication {
+  pname = "servefile";
+  version = "0.4.4";
+
+  src = fetchurl {
+    url = "https://seba-geek.de/proj/servefile/servefile-0.4.4.tar.gz";
+    sha256 = "1hibps5w2h922cfblp7jn50lbk3ilbdk9qvpc2h7b9giilaw2hwb";
+  };
+
+  postInstall = ''
+    mkdir -p $out/share/man/man1
+    cp servefile.1 $out/share/man/man1
+  '';
+
+  meta = with lib; {
+    homepage = "https://seba-geek.de/stuff/servefile/";
+    maintainers = with maintainers; [ qyliss ];
+    license = licenses.gpl3Plus;
+    platforms = platforms.all;
+  };
+}