biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / atc-ble / default.nix
blob1b099a8d0f412c04a98cdc3a564e8c643975db68
2   lib,
3   bluetooth-sensor-state-data,
4   buildPythonPackage,
5   fetchFromGitHub,
6   poetry-core,
7   pycryptodomex,
8   pytestCheckHook,
9   pytest-cov-stub,
10   pythonOlder,
11   sensor-state-data,
14 buildPythonPackage rec {
15   pname = "atc-ble";
16   version = "0.1.0";
17   pyproject = true;
19   disabled = pythonOlder "3.9";
21   src = fetchFromGitHub {
22     owner = "Bluetooth-Devices";
23     repo = "atc-ble";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-rwOFKxUlbbNIDJRdCmZpHstXwxcTnvlExgcVDdGbIVY=";
26   };
28   build-system = [ poetry-core ];
30   dependencies = [
31     bluetooth-sensor-state-data
32     pycryptodomex
33     sensor-state-data
34   ];
36   nativeCheckInputs = [
37     pytestCheckHook
38     pytest-cov-stub
39   ];
41   pythonImportsCheck = [ "atc_ble" ];
43   meta = with lib; {
44     description = "Library for ATC devices with custom firmware";
45     homepage = "https://github.com/Bluetooth-Devices/atc-ble";
46     changelog = "https://github.com/Bluetooth-Devices/atc-ble/releases/tag/v${version}";
47     license = with licenses; [ mit ];
48     maintainers = with maintainers; [ fab ];
49   };