mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python39Packages.pytest-resource-path: move pytest to buildInputs, remove pytest-runner
This commit is contained in:
parent
3886eed32c
commit
a9f116715b
@ -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 New Issue
Block a user