python312Packages.protobuf: propagate pkgs.protobuf

This commit is contained in:
Gaetan Lepage
2024-10-18 09:39:13 +02:00
parent 9c47bda6cc
commit c3777a81ec
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
@@ -10725,7 +10725,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;