mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -23147,7 +23147,7 @@ with pkgs;
|
||||
|
||||
prospector = callPackage ../development/tools/prospector { };
|
||||
|
||||
protobuf = protobuf_25;
|
||||
protobuf = protobuf_28;
|
||||
|
||||
inherit
|
||||
({
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user