Files
nixpkgs/pkgs/development/python-modules/bluepy-devices/default.nix
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
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>
2025-12-10 19:01:23 +01:00

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