mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
python3Packages.protobuf: propagate pkgs.protobuf (#349270)
This commit is contained in:
commit
8a83a96edb
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user