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 # 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
]; ];