python312Packages.protobuf: make place for protobuf5

This commit is contained in:
Sandro Jäckel
2024-07-26 20:03:18 +02:00
parent d8feb06927
commit b79c8acabc
2 changed files with 8 additions and 6 deletions
+8 -6
View File
@@ -10681,17 +10681,19 @@ self: super: with self; {
proto-plus = callPackage ../development/python-modules/proto-plus { };
# Protobuf 4.x
protobuf = callPackage ../development/python-modules/protobuf {
# If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version.
protobuf = pkgs.protobuf;
};
# Protobuf 3.x
protobuf3 = callPackage ../development/python-modules/protobuf/3.nix {
protobuf = pkgs.protobuf3_20;
};
# Protobuf 4.x
protobuf4 = callPackage ../development/python-modules/protobuf/4.nix {
protobuf = pkgs.protobuf;
};
# If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version.
protobuf = protobuf4;
protobuf3-to-dict = callPackage ../development/python-modules/protobuf3-to-dict { };
proton-client = callPackage ../development/python-modules/proton-client { };