Unverified Commit 8a83a96e authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

python3Packages.protobuf: propagate pkgs.protobuf (#349270)

parents 3fc30386 c3777a81
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
@@ -10733,7 +10733,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;