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 { lib
, async-interrupt
, bleak , bleak
, bleak-retry-connector , bleak-retry-connector
, bluetooth-adapters , bluetooth-adapters
@ -16,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "habluetooth"; pname = "habluetooth";
version = "2.4.2"; version = "2.8.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -25,22 +26,23 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = "habluetooth"; repo = "habluetooth";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-IoVXmq9ShwLpGtoxVOtoirSirJJ1DqBI/mP7PmK7OUs="; hash = "sha256-Qmq81iZpeLNrSIvxgkHl6ZYntlRwQPfPWRY2ZToQXCs=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ 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 cython
poetry-core poetry-core
setuptools setuptools
wheel wheel
]; ];
propagatedBuildInputs = [ dependencies = [
async-interrupt
bleak bleak
bleak-retry-connector bleak-retry-connector
bluetooth-adapters bluetooth-adapters