Serge Bazanski | fe94c9b | 2023-10-10 17:22:11 +0200 | [diff] [blame] | 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file") |
| 2 | |
| 3 | def vizjs_repositories(): |
| 4 | http_file( |
| 5 | name = "vizjs-viz.js", |
| 6 | url = "https://github.com/mdaines/viz-js/releases/download/v2.1.2/viz.js", |
| 7 | sha256 = "f111f22be005ceaf625f06c5a36ba7aa27703dbc0753914559edd1c24715b6e5", |
| 8 | downloaded_file_path = "viz.js", |
| 9 | ) |
| 10 | http_file( |
| 11 | name = "vizjs-full.render.js", |
| 12 | url = "https://github.com/mdaines/viz-js/releases/download/v2.1.2/full.render.js", |
| 13 | sha256 = "3a0aace75d0b1677a4afda3b38b7697a569a02636cb3d7a04114f2cc2a95d8d4", |
| 14 | downloaded_file_path = "full.render.js", |
| 15 | ) |