pythonPackages.matchpy: 0.4.6 -> 0.5.1, fix build

This commit is contained in:
Robert Scott 2019-06-08 15:23:27 +01:00 committed by Frederik Rietdijk
parent 8a41d6631c
commit 46ce40ba6a

View File

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, hopcroftkarp , hopcroftkarp
, multiset , multiset
, pytest , pytest_3
, pytestrunner , pytestrunner
, hypothesis , hypothesis
, setuptools_scm , setuptools_scm
@ -12,16 +12,20 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "matchpy"; pname = "matchpy";
version = "0.4.6"; version = "0.5.1";
disabled = isPy27; disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "eefa1e50a10e1255db61bc2522a6768ad0701f8854859f293ebaa442286faadd"; sha256 = "1vvf1cd9kw5z1mzvypc9f030nd18lgvvjc8j56b1s9b7dyslli2r";
}; };
postPatch = ''
substituteInPlace setup.cfg --replace "hypothesis>=3.6,<4.0" "hypothesis"
'';
buildInputs = [ setuptools_scm pytestrunner ]; buildInputs = [ setuptools_scm pytestrunner ];
checkInputs = [ pytest hypothesis ]; checkInputs = [ pytest_3 hypothesis ];
propagatedBuildInputs = [ hopcroftkarp multiset ]; propagatedBuildInputs = [ hopcroftkarp multiset ];
meta = with lib; { meta = with lib; {