python3Packages.binho-host-adapter: migrate to pyproject (#528738)

This commit is contained in:
Fabian Affolter
2026-06-07 08:42:58 +00:00
committed by GitHub
@@ -2,20 +2,25 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pyserial,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "binho-host-adapter";
version = "0.1.6";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
sha256 = "0mp8xa1qwaww2k5g2nqg7mcivzsbfw2ny1l9yjsi73109slafv8y";
inherit (finalAttrs) pname version;
hash = "sha256-Hm2nqE4gjBO19IkGbwV3S/8dWT0PW/HKFJwrjoPq6FY=";
};
propagatedBuildInputs = [ pyserial ];
build-system = [ setuptools ];
dependencies = [ pyserial ];
# Project has no tests
doCheck = false;
@@ -27,4 +32,4 @@ buildPythonPackage rec {
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
})