Loading pkgs/development/libraries/protobuf/30.nix 0 → 100644 +9 −0 Original line number Diff line number Diff line { callPackage, ... }@args: callPackage ./generic.nix ( { version = "30.0"; hash = "sha256-DJhShzuyR7svzxx7hV8INBPFfU4B/0aFCM6foPOINvo="; } // args ) pkgs/development/python-modules/protobuf/6.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchPypi, lib, setuptools, protobuf, }: buildPythonPackage rec { pname = "protobuf"; version = "6.30.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-hStnXSdqfQKPZg2gda8YQcdoYY92uQr3cajiwp5vWWU="; }; build-system = [ setuptools ]; propagatedNativeBuildInputs = [ protobuf ]; # the pypi source archive does not ship tests doCheck = false; pythonImportsCheck = [ "google.protobuf" "google.protobuf.compiler" "google.protobuf.internal" "google.protobuf.pyext" "google.protobuf.testdata" "google.protobuf.util" "google._upb._message" ]; meta = { description = "Protocol Buffers are Google's data interchange format"; homepage = "https://developers.google.com/protocol-buffers/"; changelog = "https://github.com/protocolbuffers/protobuf/releases/v${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10951,6 +10951,7 @@ with pkgs; inherit ({ protobuf_30 = callPackage ../development/libraries/protobuf/30.nix { }; protobuf_29 = callPackage ../development/libraries/protobuf/29.nix { }; protobuf_28 = callPackage ../development/libraries/protobuf/28.nix { }; protobuf_27 = callPackage ../development/libraries/protobuf/27.nix { }; Loading @@ -10964,6 +10965,7 @@ with pkgs; abseil-cpp = abseil-cpp_202103; }; }) protobuf_30 protobuf_29 protobuf_28 protobuf_27 Loading pkgs/top-level/python-packages.nix +5 −0 Original line number Diff line number Diff line Loading @@ -11405,6 +11405,11 @@ self: super: with self; { inherit (pkgs.__splicedPackages) protobuf; }; # Protobuf 6.x protobuf6 = callPackage ../development/python-modules/protobuf/6.nix { inherit (pkgs.__splicedPackages) protobuf_30; }; proton-client = callPackage ../development/python-modules/proton-client { }; proton-core = callPackage ../development/python-modules/proton-core { }; Loading Loading
pkgs/development/libraries/protobuf/30.nix 0 → 100644 +9 −0 Original line number Diff line number Diff line { callPackage, ... }@args: callPackage ./generic.nix ( { version = "30.0"; hash = "sha256-DJhShzuyR7svzxx7hV8INBPFfU4B/0aFCM6foPOINvo="; } // args )
pkgs/development/python-modules/protobuf/6.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchPypi, lib, setuptools, protobuf, }: buildPythonPackage rec { pname = "protobuf"; version = "6.30.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-hStnXSdqfQKPZg2gda8YQcdoYY92uQr3cajiwp5vWWU="; }; build-system = [ setuptools ]; propagatedNativeBuildInputs = [ protobuf ]; # the pypi source archive does not ship tests doCheck = false; pythonImportsCheck = [ "google.protobuf" "google.protobuf.compiler" "google.protobuf.internal" "google.protobuf.pyext" "google.protobuf.testdata" "google.protobuf.util" "google._upb._message" ]; meta = { description = "Protocol Buffers are Google's data interchange format"; homepage = "https://developers.google.com/protocol-buffers/"; changelog = "https://github.com/protocolbuffers/protobuf/releases/v${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10951,6 +10951,7 @@ with pkgs; inherit ({ protobuf_30 = callPackage ../development/libraries/protobuf/30.nix { }; protobuf_29 = callPackage ../development/libraries/protobuf/29.nix { }; protobuf_28 = callPackage ../development/libraries/protobuf/28.nix { }; protobuf_27 = callPackage ../development/libraries/protobuf/27.nix { }; Loading @@ -10964,6 +10965,7 @@ with pkgs; abseil-cpp = abseil-cpp_202103; }; }) protobuf_30 protobuf_29 protobuf_28 protobuf_27 Loading
pkgs/top-level/python-packages.nix +5 −0 Original line number Diff line number Diff line Loading @@ -11405,6 +11405,11 @@ self: super: with self; { inherit (pkgs.__splicedPackages) protobuf; }; # Protobuf 6.x protobuf6 = callPackage ../development/python-modules/protobuf/6.nix { inherit (pkgs.__splicedPackages) protobuf_30; }; proton-client = callPackage ../development/python-modules/proton-client { }; proton-core = callPackage ../development/python-modules/proton-core { }; Loading