depot/third_party/nixpkgs/pkgs/development/python-modules/bluepy-devices/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
633 B
Nix

{ 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 ];
};
}