Commit c3777a81 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.protobuf: propagate pkgs.protobuf

parent 9c47bda6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  fetchPypi,
  lib,
  setuptools,
  protobuf,
}:

buildPythonPackage rec {
@@ -17,6 +18,10 @@ buildPythonPackage rec {

  build-system = [ setuptools ];

  propagatedNativeBuildInputs = [
    protobuf
  ];

  # the pypi source archive does not ship tests
  doCheck = false;

+3 −1
Original line number Diff line number Diff line
@@ -10725,7 +10725,9 @@ self: super: with self; {
  };
  # Protobuf 5.x
  protobuf5 = callPackage ../development/python-modules/protobuf/default.nix { };
  protobuf5 = callPackage ../development/python-modules/protobuf/default.nix {
    inherit (pkgs.__splicedPackages) protobuf;
  };
  # If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version.
  protobuf = protobuf5;