mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
protobuf: 33.4 -> 33.5
Diff: https://github.com/protocolbuffers/protobuf/compare/v33.4...v33.5 Changelog: https://github.com/protocolbuffers/protobuf/releases/tag/v33.5
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
callPackage ./generic.nix (
|
||||
{
|
||||
version = "33.4";
|
||||
hash = "sha256-/mdniUtu6+tj2W8zYeV5xvEzMMfzKkGVk7Lc37p1+dE=";
|
||||
version = "33.5";
|
||||
hash = "sha256-bn8wMZSAqukZyo+fLT4O044ld53FvIfCdajr2WwM93E=";
|
||||
}
|
||||
// args
|
||||
)
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user