mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-28 07:43:43 +00:00
python312Packages.cbor2: modernize
This commit is contained in:
parent
eec87dce38
commit
9ad54f0912
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
# tests
|
# tests
|
||||||
hypothesis,
|
hypothesis,
|
||||||
|
pytest-cov-stub,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -25,12 +26,7 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-HFM8UN3oa+8caVBgIFSg/6PDduiw4gx7j1sQh5P2mD4=";
|
hash = "sha256-HFM8UN3oa+8caVBgIFSg/6PDduiw4gx7j1sQh5P2mD4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
build-system = [
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace " --cov" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
@ -39,6 +35,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
hypothesis
|
hypothesis
|
||||||
|
pytest-cov-stub
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user