504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
30 lines
658 B
Nix
30 lines
658 B
Nix
{ lib
|
|
, bluepy
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bluepy-devices";
|
|
version = "0.2.1";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|