protobuf: protobuf_25 -> protobuf_28

Bump default protobuf from 25.4 to 28.0, as well as the corresponding
python package.

Changelog:
https://github.com/protocolbuffers/protobuf/releases/tag/v28.0

Diff: https://github.com/protocolbuffers/protobuf/compare/v25.4...v28.0
This commit is contained in:
Gaetan Lepage
2024-09-01 22:06:00 +02:00
parent e37d7da935
commit 7cdaa0b80c
3 changed files with 4 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "protocolbuffers";
repo = "protobuf";
rev = "v${version}";
rev = "refs/tags/v${version}";
inherit hash;
};
@@ -89,9 +89,7 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
tests = {
pythonProtobuf = python3.pkgs.protobuf.override (_: {
protobuf = finalAttrs.finalPackage;
});
pythonProtobuf = python3.pkgs.protobuf;
inherit grpc;
};

View File

@@ -23147,7 +23147,7 @@ with pkgs;
prospector = callPackage ../development/tools/prospector { };
protobuf = protobuf_25;
protobuf = protobuf_28;
inherit
({

View File

@@ -10894,7 +10894,7 @@ self: super: with self; {
protobuf5 = callPackage ../development/python-modules/protobuf/default.nix { };
# If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version.
protobuf = protobuf4;
protobuf = protobuf5;
protobuf3-to-dict = callPackage ../development/python-modules/protobuf3-to-dict { };