mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
python3Packages.types-protobuf: migrate to pyproject (#540363)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user