Lorenz Brun | 073a1c5 | 2022-08-02 11:36:36 +0000 | [diff] [blame^] | 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 2 | |
| 3 | def dosfstools_external(name, version): |
| 4 | sums = { |
| 5 | "c888797b1d84ffbb949f147e3116e8bfb2e145a7": "4a40b488c0c259c11fb54783fc6f01e5ee912582bb49d33d0d11b11f85a42e8d", |
| 6 | } |
| 7 | |
| 8 | http_archive( |
| 9 | name = name, |
| 10 | sha256 = sums[version], |
| 11 | strip_prefix = "dosfstools-" + version, |
| 12 | build_file = "@//third_party/dosfstools:dosfstools.bzl", |
| 13 | urls = ["https://github.com/dosfstools/dosfstools/archive/%s.zip" % (version)], |
| 14 | ) |