mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 06:31:15 +00:00
python3Packages.smp: relax cbor2 constraint
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user