about summary refs log tree commit diff
path: root/pkgs/development/python-modules/parver/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2022-03-23 05:23:45 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2022-03-23 05:23:45 +0100
commitfab200cb0afee7933f1937d01772232c26838732 (patch)
tree7ab83b4ee009bb86fab1e57f90107a131c193505 /pkgs/development/python-modules/parver/default.nix
parent01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1 (diff)
downloadnixlib-fab200cb0afee7933f1937d01772232c26838732.tar
nixlib-fab200cb0afee7933f1937d01772232c26838732.tar.gz
nixlib-fab200cb0afee7933f1937d01772232c26838732.tar.bz2
nixlib-fab200cb0afee7933f1937d01772232c26838732.tar.lz
nixlib-fab200cb0afee7933f1937d01772232c26838732.tar.xz
nixlib-fab200cb0afee7933f1937d01772232c26838732.tar.zst
nixlib-fab200cb0afee7933f1937d01772232c26838732.zip
python39Packages.parver: drop version constraint on arpeggio, add SuperSandro200 as maintainer
Diffstat (limited to 'pkgs/development/python-modules/parver/default.nix')
-rw-r--r--pkgs/development/python-modules/parver/default.nix28
1 files changed, 22 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/parver/default.nix b/pkgs/development/python-modules/parver/default.nix
index 268e90020100..878b2746758c 100644
--- a/pkgs/development/python-modules/parver/default.nix
+++ b/pkgs/development/python-modules/parver/default.nix
@@ -3,7 +3,7 @@
 , fetchPypi
 , six
 , attrs
-, pytest
+, pytestCheckHook
 , hypothesis
 , pretend
 , arpeggio
@@ -18,11 +18,27 @@ buildPythonPackage rec {
     sha256 = "c902e0653bcce927cc156a7fd9b3a51924cbce3bf3d0bfd49fc282bfd0c5dfd3";
   };
 
-  propagatedBuildInputs = [ six attrs arpeggio ];
-  checkInputs = [ pytest hypothesis pretend ];
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "arpeggio ~= 1.7" "arpeggio"
+  '';
 
-  meta = {
-    description = "parver allows parsing and manipulation of PEP 440 version numbers.";
-    license = lib.licenses.mit;
+  propagatedBuildInputs = [
+    six
+    attrs
+    arpeggio
+  ];
+
+  checkInputs = [
+    pytestCheckHook
+    hypothesis
+    pretend
+  ];
+
+  meta = with lib; {
+    description = "Allows parsing and manipulation of PEP 440 version numbers";
+    homepage = "https://github.com/RazerM/parver";
+    license = licenses.mit;
+    maintainers = with maintainers; [ SuperSandro2000 ];
   };
 }