Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / tensorflow / pybind11_protobuf_python_runtime_dep.patch
blobdaebaac868927a55bf874de166ca60767b82f0ee
1 diff -Naurd x/tensorflow/workspace2.bzl y/tensorflow/workspace2.bzl
2 --- x/tensorflow/workspace2.bzl 2023-09-17 22:22:22.029075202 +0000
3 +++ y/tensorflow/workspace2.bzl 2023-09-17 22:25:27.501289587 +0000
4 @@ -876,7 +876,10 @@
5 urls = tf_mirror_urls("https://github.com/pybind/pybind11_protobuf/archive/80f3440cd8fee124e077e2e47a8a17b78b451363.zip"),
6 sha256 = "c7ab64b1ccf9a678694a89035a8c865a693e4e872803778f91f0965c2f281d78",
7 strip_prefix = "pybind11_protobuf-80f3440cd8fee124e077e2e47a8a17b78b451363",
8 - patch_file = ["//third_party/pybind11_protobuf:remove_license.patch"],
9 + patch_file = [
10 + "//third_party/pybind11_protobuf:remove_license.patch",
11 + "//third_party/pybind11_protobuf:python_runtime_dep.patch",
12 + ],
15 tf_http_archive(
16 diff -Naurd x/third_party/pybind11_protobuf/python_runtime_dep.patch y/third_party/pybind11_protobuf/python_runtime_dep.patch
17 --- x/third_party/pybind11_protobuf/python_runtime_dep.patch 1970-01-01 00:00:00.000000000 +0000
18 +++ y/third_party/pybind11_protobuf/python_runtime_dep.patch 2023-09-17 22:23:07.849128180 +0000
19 @@ -0,0 +1,11 @@
20 +diff -Naurd x/pybind11_protobuf/BUILD y/pybind11_protobuf/BUILD
21 +--- x/pybind11_protobuf/BUILD 2023-09-17 22:17:19.932725814 +0000
22 ++++ y/pybind11_protobuf/BUILD 2023-09-17 22:20:44.056961932 +0000
23 +@@ -86,6 +86,7 @@
24 + "//visibility:private",
25 + ],
26 + deps = [
27 ++ "@org_tensorflow//third_party/python_runtime:headers",
28 + "@com_google_absl//absl/container:flat_hash_map",
29 + "@com_google_absl//absl/container:flat_hash_set",
30 + "@com_google_absl//absl/meta:type_traits",