python3Packages.airthings-ble: relax bleak constraint

This commit is contained in:
Martin Weinelt 2022-09-09 03:14:09 +02:00
parent 734c3dc098
commit 24d78c741b

View File

@ -17,10 +17,15 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "vincegio";
repo = pname;
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-ihNy5Rme20fCO1tG7aqdVFhSF3DI9hAlge54+/nNGLs=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'bleak = "^0.15.1"' 'bleak = "*"'
'';
nativeBuildInputs = [
poetry-core
];