python311Packages.xiaomi-ble: relax pycryptodomex constraint

Checking runtime dependencies for xiaomi_ble-0.21.2-py3-none-any.whl
  - pycryptodomex>=3.19.1 not satisfied by version 3.19.0
This commit is contained in:
Martin Weinelt 2024-01-17 00:20:18 +01:00
parent f770415172
commit bdcc187afa
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -11,6 +11,7 @@
, pycryptodomex
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, sensor-state-data
}:
@ -30,12 +31,16 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=xiaomi_ble --cov-report=term-missing:skip-covered" "" \
--replace 'pycryptodomex = ">=3.18.0"' 'pycryptodomex = ">=3.17.0"'
--replace " --cov=xiaomi_ble --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"pycryptodomex"
];
propagatedBuildInputs = [