python312Packages.cbor2: modernize

This commit is contained in:
Martin Weinelt 2024-10-12 03:39:12 +02:00
parent eec87dce38
commit 9ad54f0912

View File

@ -10,6 +10,7 @@
# tests
hypothesis,
pytest-cov-stub,
pytestCheckHook,
}:
@ -25,12 +26,7 @@ buildPythonPackage rec {
hash = "sha256-HFM8UN3oa+8caVBgIFSg/6PDduiw4gx7j1sQh5P2mD4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov" ""
'';
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
@ -39,6 +35,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
hypothesis
pytest-cov-stub
pytestCheckHook
];