python39Packages.pytest-resource-path: move pytest to buildInputs, remove pytest-runner

This commit is contained in:
Sandro Jäckel 2021-08-07 20:23:24 +02:00
parent 3886eed32c
commit a9f116715b
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -3,7 +3,6 @@
, pythonOlder
, fetchFromGitHub
, colorama
, pytest-runner
, pytest
, pytestCheckHook
}:
@ -20,13 +19,17 @@ buildPythonPackage rec {
sha256 = "1siv3pk4fsabz254fdzr7c0pxy124habnbw4ym66pfk883fr96g2";
};
nativeBuildInputs = [
pytest-runner
postPatch = ''
substituteInPlace setup.cfg \
--replace "pytest-runner" ""
'';
buildInputs = [
pytest
];
propagatedBuildInputs = [
colorama
pytest
];
checkInputs = [