Skip to content

Commit

Permalink
python312Packages.bleak-esphome: 1.1.1 -> 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Jan 4, 2025
1 parent 576aac5 commit 64a4ca5
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions pkgs/development/python-modules/bleak-esphome/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
lru-dict,
poetry-core,
pytest-asyncio,
pytest-codspeed,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
}:

buildPythonPackage rec {
pname = "bleak-esphome";
version = "1.1.1";
version = "2.0.0";
pyproject = true;

disabled = pythonOlder "3.10";
Expand All @@ -24,17 +26,12 @@ buildPythonPackage rec {
owner = "bluetooth-devices";
repo = "bleak-esphome";
tag = "v${version}";
hash = "sha256-WFswGtPX0OpDTqT25oHGZ+gIN/fhco4orWeGVXIIfzM=";
hash = "sha256-rN2vpXiOaUjjN6yNZxeEgTpcz0K5soUqKKiDDOhcBtc=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=bleak_esphome --cov-report=term-missing:skip-covered" ""
'';
build-system = [ poetry-core ];

nativeBuildInputs = [ poetry-core ];

propagatedBuildInputs = [
dependencies = [
aioesphomeapi
bleak
bluetooth-data-tools
Expand All @@ -44,6 +41,8 @@ buildPythonPackage rec {

nativeCheckInputs = [
pytest-asyncio
pytest-codspeed
pytest-cov-stub
pytestCheckHook
];

Expand Down

0 comments on commit 64a4ca5

Please sign in to comment.