Merge pull request #166231 from SuperSandro2000/pymarshal
This commit is contained in:
commit
8e556cdb48
|
@ -3,9 +3,6 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, bson
|
, bson
|
||||||
, pytest
|
|
||||||
, pytest-cov
|
|
||||||
, pytest-runner
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, setuptools
|
, setuptools
|
||||||
|
@ -23,9 +20,15 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-Ds8JV2mtLRcKXBvPs84Hdj3MxxqpeV5muKCSlAFCj1A=";
|
sha256 = "sha256-Ds8JV2mtLRcKXBvPs84Hdj3MxxqpeV5muKCSlAFCj1A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner'" ""
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "--cov=pymarshal --cov-report=html --cov-report=term" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
pytest-runner
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -35,8 +38,6 @@ buildPythonPackage rec {
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
bson
|
bson
|
||||||
pytest
|
|
||||||
pytest-cov
|
|
||||||
pyyaml
|
pyyaml
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue