We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6f463 commit d90b1cdCopy full SHA for d90b1cd
1 file changed
pkgs/development/python-modules/protobuf/default.nix
@@ -33,6 +33,14 @@ buildPythonPackage {
33
src = ./use-nixpkgs-abseil-cpp.patch;
34
abseil_cpp_include_path = "${lib.getDev protobuf.abseil-cpp}/include";
35
})
36
+ ]
37
+ ++ lib.optionals (pythonAtLeast "3.11" && lib.versionOlder protobuf.version "3.22") [
38
+ (fetchpatch {
39
+ name = "support-python311.patch";
40
+ url = "https://github.com/protocolbuffers/protobuf/commit/2206b63c4649cf2e8a06b66c9191c8ef862ca519.diff";
41
+ stripLen = 1; # because sourceRoot above
42
+ hash = "sha256-3GaoEyZIhS3QONq8LEvJCH5TdO9PKnOgcQF0GlEiwFo=";
43
+ })
44
];
45
46
prePatch = ''
0 commit comments