python3Packages.bluepy-devices: migrate to pyproject (#528824)

This commit is contained in:
Fabian Affolter
2026-06-07 08:40:36 +00:00
committed by GitHub
@@ -3,20 +3,25 @@
bluepy,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "bluepy-devices";
version = "0.2.1";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "bluepy_devices";
inherit version;
sha256 = "02zzzivxq2vifgs65m2rm8pqlsbzsbc419c032irzvfxjx539mr8";
inherit (finalAttrs) version;
hash = "sha256-KNc0Spfd7Z+jGIClQNjSf2mKL6pZ1GL0c3EL3Hf8/ws=";
};
propagatedBuildInputs = [ bluepy ];
build-system = [ setuptools ];
dependencies = [ bluepy ];
# Project has no test
doCheck = false;
@@ -28,4 +33,4 @@ buildPythonPackage rec {
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
})