python3Packages.types-protobuf: migrate to pyproject (#540363)

This commit is contained in:
Yohann Boniface
2026-08-09 22:18:48 +00:00
committed by GitHub

View File

@@ -2,21 +2,26 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
types-futures,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "types-protobuf";
version = "6.32.1.20260221";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "types_protobuf";
inherit version;
inherit (finalAttrs) version;
hash = "sha256-bV+wYKYWv7B2y7YbSzw5afX8i+xYEPmi9+ZI7ly8v24=";
};
propagatedBuildInputs = [ types-futures ];
build-system = [ setuptools ];
dependencies = [ types-futures ];
# Module doesn't have tests
doCheck = false;
@@ -29,4 +34,4 @@ buildPythonPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ andersk ];
};
}
})