| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file") |
| |
| def vizjs_repositories(): |
| http_file( |
| name = "vizjs-viz.js", |
| url = "https://github.com/mdaines/viz-js/releases/download/v2.1.2/viz.js", |
| sha256 = "f111f22be005ceaf625f06c5a36ba7aa27703dbc0753914559edd1c24715b6e5", |
| downloaded_file_path = "viz.js", |
| ) |
| http_file( |
| name = "vizjs-full.render.js", |
| url = "https://github.com/mdaines/viz-js/releases/download/v2.1.2/full.render.js", |
| sha256 = "3a0aace75d0b1677a4afda3b38b7697a569a02636cb3d7a04114f2cc2a95d8d4", |
| downloaded_file_path = "full.render.js", |
| ) |