stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / bleak-esphome / default.nix
blob68e159310ac758ced382e999e1e71139bcfc23f6
2   lib,
3   aioesphomeapi,
4   bleak,
5   bluetooth-data-tools,
6   buildPythonPackage,
7   fetchFromGitHub,
8   habluetooth,
9   lru-dict,
10   poetry-core,
11   pytest-asyncio,
12   pytest-codspeed,
13   pytest-cov-stub,
14   pytestCheckHook,
15   pythonOlder,
18 buildPythonPackage rec {
19   pname = "bleak-esphome";
20   version = "2.0.0";
21   pyproject = true;
23   disabled = pythonOlder "3.10";
25   src = fetchFromGitHub {
26     owner = "bluetooth-devices";
27     repo = "bleak-esphome";
28     tag = "v${version}";
29     hash = "sha256-rN2vpXiOaUjjN6yNZxeEgTpcz0K5soUqKKiDDOhcBtc=";
30   };
32   build-system = [ poetry-core ];
34   dependencies = [
35     aioesphomeapi
36     bleak
37     bluetooth-data-tools
38     habluetooth
39     lru-dict
40   ];
42   nativeCheckInputs = [
43     pytest-asyncio
44     pytest-codspeed
45     pytest-cov-stub
46     pytestCheckHook
47   ];
49   pythonImportsCheck = [ "bleak_esphome" ];
51   meta = with lib; {
52     description = "Bleak backend of ESPHome";
53     homepage = "https://github.com/bluetooth-devices/bleak-esphome";
54     changelog = "https://github.com/bluetooth-devices/bleak-esphome/blob/v${version}/CHANGELOG.md";
55     license = licenses.mit;
56     maintainers = with maintainers; [ fab ];
57   };