biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / habluetooth / default.nix
bloba23e54ff53fda0f5587e38d3d3e4c28f1d6bc7bd
2   lib,
3   async-interrupt,
4   bleak,
5   bleak-retry-connector,
6   bluetooth-adapters,
7   bluetooth-auto-recovery,
8   bluetooth-data-tools,
9   buildPythonPackage,
10   cython,
11   fetchFromGitHub,
12   poetry-core,
13   pytest-asyncio,
14   pytest-cov-stub,
15   pytestCheckHook,
16   pythonOlder,
17   setuptools,
20 buildPythonPackage rec {
21   pname = "habluetooth";
22   version = "3.4.0";
23   pyproject = true;
25   disabled = pythonOlder "3.11";
27   src = fetchFromGitHub {
28     owner = "Bluetooth-Devices";
29     repo = "habluetooth";
30     rev = "refs/tags/v${version}";
31     hash = "sha256-qmb7hfrcKWSs1dkyozuTPsVbI0cjVAJ9Em0JIIKsyck=";
32   };
34   build-system = [
35     cython
36     poetry-core
37     setuptools
38   ];
40   dependencies = [
41     async-interrupt
42     bleak
43     bleak-retry-connector
44     bluetooth-adapters
45     bluetooth-auto-recovery
46     bluetooth-data-tools
47   ];
49   nativeCheckInputs = [
50     pytest-asyncio
51     pytest-cov-stub
52     pytestCheckHook
53   ];
55   pythonImportsCheck = [ "habluetooth" ];
57   meta = with lib; {
58     description = "Library for high availability Bluetooth";
59     homepage = "https://github.com/Bluetooth-Devices/habluetooth";
60     changelog = "https://github.com/Bluetooth-Devices/habluetooth/blob/v${version}/CHANGELOG.md";
61     license = licenses.asl20;
62     maintainers = with maintainers; [ fab ];
63   };