python3Packages.smp: relax cbor2 constraint

This commit is contained in:
Martin Weinelt
2026-07-13 15:31:04 +02:00
parent 4db081fc19
commit f255048fff

View File

@@ -7,6 +7,7 @@
crcmod,
eval-type-backport,
pydantic,
pyprojectVersionPatchHook,
pytestCheckHook,
}:
@@ -22,10 +23,9 @@ buildPythonPackage rec {
hash = "sha256-RjecTnMYNcJeD7wqq4FkwRvEgTn5V/RwMfOjf2dqQ+U=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0"' 'version = "${version}"'
'';
nativeBuildInputs = [
pyprojectVersionPatchHook
];
build-system = [
poetry-core
@@ -38,6 +38,10 @@ buildPythonPackage rec {
pydantic
];
pythonRelaxDeps = [
"cbor2"
];
nativeCheckInputs = [
pytestCheckHook
];