Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oidn",
sha256 = "77ae47ab00893d653884ad160f5440d61a1d411b45041c02ca7c3a674f1e1a29",
strip_prefix = "rules_oidn-0.0.2",
url = "https://github.com/Vertexwahn/rules_oidn/releases/download/v0.0.2/rules_oidn-v0.0.2.tar.gz",
)
Full Changelog: v0.0.1...v0.0.2