about summary refs log tree commit diff
path: root/third_party/rustsec-advisory-db/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rustsec-advisory-db/default.nix')
-rw-r--r--third_party/rustsec-advisory-db/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/rustsec-advisory-db/default.nix b/third_party/rustsec-advisory-db/default.nix
new file mode 100644
index 000000000000..2e280345abbf
--- /dev/null
+++ b/third_party/rustsec-advisory-db/default.nix
@@ -0,0 +1,9 @@
+{ pkgs, ... }:
+
+pkgs.fetchFromGitHub {
+  owner = "RustSec";
+  repo = "advisory-db";
+  # TODO(Profpatsch): this will have to be updated regularly, how?
+  rev = "113188c62380753f01ff0df5edb7d67a300b143a";
+  sha256 = "0v086ybwr71zgs5nv8yr4w2w2d4daxx6in2s1sjb4m41q1r9p0wj";
+}