mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python311Packages.marshmallow-polyfield: modernize
This commit is contained in:
parent
2571cbf3ba
commit
cdfe7cc796
1 changed files with 7 additions and 8 deletions
|
@ -5,6 +5,7 @@
|
|||
marshmallow,
|
||||
pythonOlder,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
|
@ -22,16 +23,14 @@ buildPythonPackage rec {
|
|||
hash = "sha256-jbpeyih2Ccw1Rk+QcXRO9AfN5B/DhZmxa/M6FzXHqqs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=marshmallow_polyfield" ""
|
||||
'';
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
dependencies = [ marshmallow ];
|
||||
|
||||
propagatedBuildInputs = [ marshmallow ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "marshmallow" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue