summaryrefslogtreecommitdiff
path: root/repositories.bzl
blob: d277c76db109eda6de6829330fd4693b9dec7ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

def latex_repositories():
    """Adds external dependencies necessary for Bazel-LaTeX.
    """
    http_archive(
        name = "bazel_latex_latexrun",
        build_file_content = "exports_files([\"latexrun\"])",
        patches = [
            "@bazel_latex//:patches/latexrun-force-colors",
            "@bazel_latex//:patches/latexrun-pull-21",
            "@bazel_latex//:patches/latexrun-pull-47",
            "@bazel_latex//:patches/latexrun-pull-61",
            "@bazel_latex//:patches/latexrun-pull-62",
        ],
        sha256 = "4e1512fde5a05d1249fd6b4e6610cdab8e14ddba82a7cbb58dc7d5c0ba468c2a",
        strip_prefix = "latexrun-38ff6ec2815654513c91f64bdf2a5760c85da26e",
        url = "https://github.com/aclements/latexrun/archive/38ff6ec2815654513c91f64bdf2a5760c85da26e.tar.gz",
    )

    http_archive(
        name = "pdfcrop",
        build_file_content = "exports_files([\"pdfcrop.pl\"])",
        sha256 = "4226acd990b3a6db6f9e3bf8949e308b97fa74f8c404023bfb3ce598400a72a4",
        strip_prefix = "pdfcrop",
        url = "http://mirrors.ctan.org/support/pdfcrop.zip",
    )

    http_archive(
        name = "arxiv_latex_cleaner",
        build_file_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])""",
        sha256 = "770c65993c964405bb5362ee75039970434ef395872356980e470b6b044ac427",
        strip_prefix = "arxiv-latex-cleaner-ea4db65744837bb1205a4fd14b56244b2e639c34",
        url = "https://github.com/google-research/arxiv-latex-cleaner/archive/ea4db65744837bb1205a4fd14b56244b2e639c34.tar.gz",
    )
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback