1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, attrs 6, pytestCheckHook 7, hypothesis 8, pretend 9, arpeggio 10}: 11 12buildPythonPackage rec { 13 pname = "parver"; 14 version = "0.3.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "c902e0653bcce927cc156a7fd9b3a51924cbce3bf3d0bfd49fc282bfd0c5dfd3"; 19 }; 20 21 postPatch = '' 22 substituteInPlace setup.py \ 23 --replace "arpeggio ~= 1.7" "arpeggio" 24 ''; 25 26 propagatedBuildInputs = [ 27 six 28 attrs 29 arpeggio 30 ]; 31 32 checkInputs = [ 33 pytestCheckHook 34 hypothesis 35 pretend 36 ]; 37 38 meta = with lib; { 39 description = "Allows parsing and manipulation of PEP 440 version numbers"; 40 homepage = "https://github.com/RazerM/parver"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ SuperSandro2000 ]; 43 }; 44}