diff --git a/pkgs/development/libraries/protobuf/33.nix b/pkgs/development/libraries/protobuf/33.nix index 19c4fd2dd0ff..a1973638f0eb 100644 --- a/pkgs/development/libraries/protobuf/33.nix +++ b/pkgs/development/libraries/protobuf/33.nix @@ -2,8 +2,8 @@ callPackage ./generic.nix ( { - version = "33.4"; - hash = "sha256-/mdniUtu6+tj2W8zYeV5xvEzMMfzKkGVk7Lc37p1+dE="; + version = "33.5"; + hash = "sha256-bn8wMZSAqukZyo+fLT4O044ld53FvIfCdajr2WwM93E="; } // args ) diff --git a/pkgs/development/python-modules/protobuf/6.nix b/pkgs/development/python-modules/protobuf/6.nix index 2d29e9f03692..1d05e4ad3346 100644 --- a/pkgs/development/python-modules/protobuf/6.nix +++ b/pkgs/development/python-modules/protobuf/6.nix @@ -7,14 +7,14 @@ protobuf, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "protobuf"; - version = "6.33.4"; + version = "6.33.5"; pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-3C5hvKOxBHDBkS0Wb+CvZ7/CDrVZcdzvjfpIzhTw7ZE="; + inherit (finalAttrs) pname version; + hash = "sha256-bdysKggfi3uWQsCUBrxqQpASj85fRxzd0WWWC7kRnlw="; }; build-system = [ setuptools ]; @@ -26,7 +26,7 @@ buildPythonPackage rec { doCheck = # https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards # The non-python protobuf provides the protoc binary which must not be newer. - assert lib.versionAtLeast version ("6." + protobuf.version); + assert lib.versionAtLeast finalAttrs.version ("6." + protobuf.version); # the pypi source archive does not ship tests false; @@ -50,9 +50,9 @@ buildPythonPackage rec { description = "Protocol Buffers are Google's data interchange format"; homepage = "https://developers.google.com/protocol-buffers/"; changelog = "https://github.com/protocolbuffers/protobuf/releases/v${ - builtins.substring 2 (-1) version + builtins.substring 2 (-1) finalAttrs.version }"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; -} +})