mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
31 lines
658 B
Nix
31 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 ];
|
|
};
|
|
}
|