protobuf_30: init at 30.0

+61
+9
pkgs/development/libraries/protobuf/30.nix
··· 1 + { callPackage, ... }@args: 2 + 3 + callPackage ./generic.nix ( 4 + { 5 + version = "30.0"; 6 + hash = "sha256-DJhShzuyR7svzxx7hV8INBPFfU4B/0aFCM6foPOINvo="; 7 + } 8 + // args 9 + )
+45
pkgs/development/python-modules/protobuf/6.nix
··· 1 + { 2 + buildPythonPackage, 3 + fetchPypi, 4 + lib, 5 + setuptools, 6 + protobuf, 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "protobuf"; 11 + version = "6.30.0"; 12 + pyproject = true; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + hash = "sha256-hStnXSdqfQKPZg2gda8YQcdoYY92uQr3cajiwp5vWWU="; 17 + }; 18 + 19 + build-system = [ setuptools ]; 20 + 21 + propagatedNativeBuildInputs = [ 22 + protobuf 23 + ]; 24 + 25 + # the pypi source archive does not ship tests 26 + doCheck = false; 27 + 28 + pythonImportsCheck = [ 29 + "google.protobuf" 30 + "google.protobuf.compiler" 31 + "google.protobuf.internal" 32 + "google.protobuf.pyext" 33 + "google.protobuf.testdata" 34 + "google.protobuf.util" 35 + "google._upb._message" 36 + ]; 37 + 38 + meta = { 39 + description = "Protocol Buffers are Google's data interchange format"; 40 + homepage = "https://developers.google.com/protocol-buffers/"; 41 + changelog = "https://github.com/protocolbuffers/protobuf/releases/v${version}"; 42 + license = lib.licenses.bsd3; 43 + maintainers = with lib.maintainers; [ GaetanLepage ]; 44 + }; 45 + }
+2
pkgs/top-level/all-packages.nix
··· 10951 10951 10952 10952 inherit 10953 10953 ({ 10954 + protobuf_30 = callPackage ../development/libraries/protobuf/30.nix { }; 10954 10955 protobuf_29 = callPackage ../development/libraries/protobuf/29.nix { }; 10955 10956 protobuf_28 = callPackage ../development/libraries/protobuf/28.nix { }; 10956 10957 protobuf_27 = callPackage ../development/libraries/protobuf/27.nix { }; ··· 10964 10965 abseil-cpp = abseil-cpp_202103; 10965 10966 }; 10966 10967 }) 10968 + protobuf_30 10967 10969 protobuf_29 10968 10970 protobuf_28 10969 10971 protobuf_27
+5
pkgs/top-level/python-packages.nix
··· 11405 11405 inherit (pkgs.__splicedPackages) protobuf; 11406 11406 }; 11407 11407 11408 + # Protobuf 6.x 11409 + protobuf6 = callPackage ../development/python-modules/protobuf/6.nix { 11410 + inherit (pkgs.__splicedPackages) protobuf_30; 11411 + }; 11412 + 11408 11413 proton-client = callPackage ../development/python-modules/proton-client { }; 11409 11414 11410 11415 proton-core = callPackage ../development/python-modules/proton-core { };