python39Packages.pytest-resource-path: move pytest to buildInputs, remove pytest-runner
This commit is contained in:
parent
3886eed32c
commit
a9f116715b
1 changed files with 7 additions and 4 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue