python3Packages.protobuf: propagate pkgs.protobuf (#349270)

This commit is contained in:
Vladimír Čunát
2024-10-21 10:59:07 +02:00
2 changed files with 8 additions and 1 deletions
@@ -3,6 +3,7 @@
fetchPypi,
lib,
setuptools,
protobuf,
}:
buildPythonPackage rec {
@@ -17,6 +18,10 @@ buildPythonPackage rec {
build-system = [ setuptools ];
propagatedNativeBuildInputs = [
protobuf
];
# the pypi source archive does not ship tests
doCheck = false;
+3 -1
View File
@@ -10733,7 +10733,9 @@ self: super: with self; {
};
# Protobuf 5.x
protobuf5 = callPackage ../development/python-modules/protobuf/default.nix { };
protobuf5 = callPackage ../development/python-modules/protobuf/default.nix {
inherit (pkgs.__splicedPackages) protobuf;
};
# If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version.
protobuf = protobuf5;