@@ -39,20 +39,44 @@ def gapic_generator_python():
3939
4040 _maybe (
4141 http_archive ,
42- name = "pandoc_linux" ,
42+ name = "pandoc_linux_arm_64" ,
43+ build_file_content = _PANDOC_BUILD_FILE ,
44+ strip_prefix = "pandoc-3.7.0.2" ,
45+ url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-linux-arm64.tar.gz" ,
46+ )
47+
48+ _maybe (
49+ http_archive ,
50+ name = "pandoc_linux_x86_64" ,
4351 build_file_content = _PANDOC_BUILD_FILE ,
4452 strip_prefix = "pandoc-3.7.0.2" ,
4553 url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-linux-amd64.tar.gz" ,
4654 )
4755
4856 _maybe (
4957 http_archive ,
50- name = "pandoc_macOS " ,
58+ name = "pandoc_macOS_arm_64 " ,
5159 build_file_content = _PANDOC_BUILD_FILE ,
5260 strip_prefix = "pandoc-3.7.0.2" ,
5361 url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-arm64-macOS.zip" ,
5462 )
5563
64+ _maybe (
65+ http_archive ,
66+ name = "pandoc_macOS_x86_64" ,
67+ build_file_content = _PANDOC_BUILD_FILE ,
68+ strip_prefix = "pandoc-3.7.0.2" ,
69+ url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-x86_64-macOS.zip" ,
70+ )
71+
72+ _maybe (
73+ http_archive ,
74+ name = "pandoc_windows_x86_64" ,
75+ build_file_content = _PANDOC_BUILD_FILE ,
76+ strip_prefix = "pandoc-3.7.0.2" ,
77+ url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-windows-x86_64.zip" ,
78+ )
79+
5680 _rules_gapic_version = "0.5.4"
5781 _maybe (
5882 http_archive ,
@@ -70,8 +94,11 @@ def gapic_generator_python():
7094
7195def gapic_generator_register_toolchains ():
7296 native .register_toolchains (
73- "@gapic_generator_python//:pandoc_toolchain_linux" ,
74- "@gapic_generator_python//:pandoc_toolchain_macOS" ,
97+ "@gapic_generator_python//:pandoc_toolchain_linux_arm_64" ,
98+ "@gapic_generator_python//:pandoc_toolchain_linux_x86_64" ,
99+ "@gapic_generator_python//:pandoc_toolchain_macOS_arm_64" ,
100+ "@gapic_generator_python//:pandoc_toolchain_macOS_x86_64" ,
101+ "@gapic_generator_python//:pandoc_toolchain_windows_x86_64" ,
75102 )
76103
77104def _maybe (repo_rule , name , strip_repo_prefix = "" , ** kwargs ):
0 commit comments