diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-03-23 07:00:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 07:00:37 +0100 |
commit | 30d2d4a499f904e8966eaeaf6a2867765efe1f6d (patch) | |
tree | ffd2075821ec36cc1bcefa37ed0a2ce72a264987 /pkgs/development/python-modules/parver/default.nix | |
parent | 252eef0abcc5252d00670f8b14379de61682e40d (diff) | |
parent | fab200cb0afee7933f1937d01772232c26838732 (diff) | |
download | nixlib-30d2d4a499f904e8966eaeaf6a2867765efe1f6d.tar nixlib-30d2d4a499f904e8966eaeaf6a2867765efe1f6d.tar.gz nixlib-30d2d4a499f904e8966eaeaf6a2867765efe1f6d.tar.bz2 nixlib-30d2d4a499f904e8966eaeaf6a2867765efe1f6d.tar.lz nixlib-30d2d4a499f904e8966eaeaf6a2867765efe1f6d.tar.xz nixlib-30d2d4a499f904e8966eaeaf6a2867765efe1f6d.tar.zst nixlib-30d2d4a499f904e8966eaeaf6a2867765efe1f6d.zip |
Merge pull request #165190 from r-ryantm/auto-update/python310Packages.arpeggio
Diffstat (limited to 'pkgs/development/python-modules/parver/default.nix')
-rw-r--r-- | pkgs/development/python-modules/parver/default.nix | 28 |
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 ]; }; } |