saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / bthome-ble / default.nix
blob3481cd99924b18044884a81c6dafb3b756432d01
2   lib,
3   bluetooth-data-tools,
4   bluetooth-sensor-state-data,
5   buildPythonPackage,
6   cryptography,
7   fetchFromGitHub,
8   poetry-core,
9   pytest-cov-stub,
10   pytestCheckHook,
11   pythonOlder,
12   pytz,
13   sensor-state-data,
16 buildPythonPackage rec {
17   pname = "bthome-ble";
18   version = "3.12.4";
19   pyproject = true;
21   disabled = pythonOlder "3.9";
23   src = fetchFromGitHub {
24     owner = "Bluetooth-Devices";
25     repo = "bthome-ble";
26     tag = "v${version}";
27     hash = "sha256-1Kr+KKL8o1qsu/ncwclsokPcO1QHYadul/f+/Nnv6SQ=";
28   };
30   build-system = [ poetry-core ];
32   dependencies = [
33     bluetooth-data-tools
34     bluetooth-sensor-state-data
35     cryptography
36     sensor-state-data
37     pytz
38   ];
40   nativeCheckInputs = [
41     pytest-cov-stub
42     pytestCheckHook
43   ];
45   pythonImportsCheck = [ "bthome_ble" ];
47   meta = with lib; {
48     description = "Library for BThome BLE devices";
49     homepage = "https://github.com/Bluetooth-Devices/bthome-ble";
50     changelog = "https://github.com/bluetooth-devices/bthome-ble/blob/v${version}/CHANGELOG.md";
51     license = licenses.mit;
52     maintainers = with maintainers; [ fab ];
53   };