Merge pull request #153608 from fabaff/fix-parsy
python3Packages.parsy: switch to pytestCheckHook
This commit is contained in:
commit
01cda2e4d4
@ -1,21 +1,29 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytest }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "parsy";
|
||||
version = "1.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7c411373e520e97431f0b390db9d2cfc5089bc1d33f4f1584d2cdc9e6368f302";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test test/
|
||||
'';
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
pythonImportsCheck = [
|
||||
"parsy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/python-parsy/parsy";
|
||||
|
Loading…
Reference in New Issue
Block a user