summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2018-10-26 13:58:18 +0000
committerAlyssa Ross <hi@alyssa.is>2018-10-29 12:28:20 +0000
commita586c14cc436b01673af2738b702dbcea18fc123 (patch)
tree572c174111abc3071f9296c2dbed30a1869e7921 /pkgs/development/python-modules
parent5adfcb951a1243aa777e1371ef2cb6a03be46ff7 (diff)
downloadnixlib-a586c14cc436b01673af2738b702dbcea18fc123.tar
nixlib-a586c14cc436b01673af2738b702dbcea18fc123.tar.gz
nixlib-a586c14cc436b01673af2738b702dbcea18fc123.tar.bz2
nixlib-a586c14cc436b01673af2738b702dbcea18fc123.tar.lz
nixlib-a586c14cc436b01673af2738b702dbcea18fc123.tar.xz
nixlib-a586c14cc436b01673af2738b702dbcea18fc123.tar.zst
nixlib-a586c14cc436b01673af2738b702dbcea18fc123.zip
python3Packages.priority: init at 1.3.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/priority/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/priority/default.nix b/pkgs/development/python-modules/priority/default.nix
new file mode 100644
index 000000000000..90b58b665de8
--- /dev/null
+++ b/pkgs/development/python-modules/priority/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildPythonPackage, fetchPypi, pytest, hypothesis }:
+
+buildPythonPackage rec {
+  pname = "priority";
+  version = "1.3.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1gpzn9k9zgks0iw5wdmad9b4dry8haiz2sbp6gycpjkzdld9dhbb";
+  };
+
+  checkInputs = [ pytest hypothesis ];
+  checkPhase = ''
+    PYTHONPATH="src:$PYTHONPATH" pytest
+  '';
+
+  meta = with lib; {
+    homepage = https://python-hyper.org/priority/;
+    description = "A pure-Python implementation of the HTTP/2 priority tree";
+    license = licenses.mit;
+    maintainers = [ maintainers.qyliss ];
+  };
+}