dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / development / python-modules / moat-ble / default.nix
blobef9d3f53f14847b887f0c4800bd80c197011773f
2   lib,
3   bluetooth-sensor-state-data,
4   buildPythonPackage,
5   fetchFromGitHub,
6   home-assistant-bluetooth,
7   poetry-core,
8   pytest-cov-stub,
9   pytestCheckHook,
10   pythonOlder,
11   sensor-state-data,
14 buildPythonPackage rec {
15   pname = "moat-ble";
16   version = "0.1.1";
17   pyproject = true;
19   disabled = pythonOlder "3.9";
21   src = fetchFromGitHub {
22     owner = "Bluetooth-Devices";
23     repo = "moat-ble";
24     tag = "v${version}";
25     hash = "sha256-dy1Fm0Z1PUsPY8QTiXUcWSi+csFnTUsobSkA92m06QI=";
26   };
28   build-system = [ poetry-core ];
30   dependencies = [
31     bluetooth-sensor-state-data
32     home-assistant-bluetooth
33     sensor-state-data
34   ];
36   nativeCheckInputs = [
37     pytest-cov-stub
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [ "moat_ble" ];
43   meta = with lib; {
44     description = "Library for Moat BLE devices";
45     homepage = "https://github.com/Bluetooth-Devices/moat-ble";
46     changelog = "https://github.com/Bluetooth-Devices/moat-ble/releases/tag/v${version}";
47     license = licenses.mit;
48     maintainers = with maintainers; [ fab ];
49   };