python312Packages.habluetooth: 2.4.2 -> 2.8.0

https://github.com/Bluetooth-Devices/habluetooth/blob/v2.8.0/CHANGELOG.md
This commit is contained in:
Martin Weinelt 2024-05-03 14:27:28 +02:00
parent 0379de44fd
commit 4e43d17ca6

View File

@ -1,4 +1,5 @@
{ lib
, async-interrupt
, bleak
, bleak-retry-connector
, bluetooth-adapters
@ -16,7 +17,7 @@
buildPythonPackage rec {
pname = "habluetooth";
version = "2.4.2";
version = "2.8.0";
pyproject = true;
disabled = pythonOlder "3.10";
@ -25,22 +26,23 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices";
repo = "habluetooth";
rev = "refs/tags/v${version}";
hash = "sha256-IoVXmq9ShwLpGtoxVOtoirSirJJ1DqBI/mP7PmK7OUs=";
hash = "sha256-Qmq81iZpeLNrSIvxgkHl6ZYntlRwQPfPWRY2ZToQXCs=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=habluetooth --cov-report=term-missing:skip-covered" ""
--replace-fail " --cov=habluetooth --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
build-system = [
cython
poetry-core
setuptools
wheel
];
propagatedBuildInputs = [
dependencies = [
async-interrupt
bleak
bleak-retry-connector
bluetooth-adapters