about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/bluepy-devices/default.nix
blob: c1baeedcb5e41f5b5ae359e9391d5061e146e3d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, bluepy
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "bluepy-devices";
  version = "0.2.1";

  src = fetchPypi {
    pname = "bluepy_devices";
    inherit  version;
    sha256 = "02zzzivxq2vifgs65m2rm8pqlsbzsbc419c032irzvfxjx539mr8";
  };

  propagatedBuildInputs = [ bluepy ];

  # Project has no test
  doCheck = false;
  pythonImportsCheck = [ "bluepy_devices" ];

  meta = with lib; {
    description = "Python BTLE Device Interface for bluepy";
    homepage = "https://github.com/bimbar/bluepy_devices";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}