567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
661 B
Nix
32 lines
661 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 = {
|
|
description = "Python BTLE Device Interface for bluepy";
|
|
homepage = "https://github.com/bimbar/bluepy_devices";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|