python3Packages.pluggy: use pyproject format
This commit is contained in:
parent
39feebbf61
commit
e7cf8da2d0
@ -9,25 +9,22 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pluggy";
|
pname = "pluggy";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159";
|
sha256 = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test
|
|
||||||
'';
|
|
||||||
|
|
||||||
# To prevent infinite recursion with pytest
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||||
importlib-metadata
|
importlib-metadata
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# To prevent infinite recursion with pytest
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Plugin and hook calling mechanisms for Python";
|
description = "Plugin and hook calling mechanisms for Python";
|
||||||
homepage = "https://github.com/pytest-dev/pluggy";
|
homepage = "https://github.com/pytest-dev/pluggy";
|
||||||
|
Loading…
Reference in New Issue
Block a user