about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/http/hyp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/http/hyp/default.nix')
-rw-r--r--nixpkgs/pkgs/servers/http/hyp/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/http/hyp/default.nix b/nixpkgs/pkgs/servers/http/hyp/default.nix
new file mode 100644
index 000000000000..76562311ac64
--- /dev/null
+++ b/nixpkgs/pkgs/servers/http/hyp/default.nix
@@ -0,0 +1,20 @@
+{ lib, python3Packages, fetchPypi }:
+
+python3Packages.buildPythonPackage rec {
+  pname = "hyp-server";
+  version = "1.2.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1lafjdcn9nnq6xc3hhyizfwh6l69lc7rixn6dx65aq71c913jc15";
+  };
+
+  meta = with lib; {
+    description = "Hyperminimal https server";
+    mainProgram = "hyp";
+    homepage    = "https://github.com/rnhmjoj/hyp";
+    license     = with licenses; [gpl3Plus mit];
+    maintainers = with maintainers; [ rnhmjoj ];
+    platforms   = platforms.unix;
+  };
+}