diff options
Diffstat (limited to 'third_party/rustsec-advisory-db/default.nix')
-rw-r--r-- | third_party/rustsec-advisory-db/default.nix | 19 |
1 files changed, 19 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..e0ea2b080a66 --- /dev/null +++ b/third_party/rustsec-advisory-db/default.nix @@ -0,0 +1,19 @@ +# RustSec's advisory db for crates +{ pkgs, depot, ... }: + +let + inherit (depot.third_party.sources) rustsec-advisory-db; +in + +pkgs.fetchFromGitHub { + inherit (rustsec-advisory-db) + owner + repo + sha256 + rev + ; + + passthru = { + inherit (rustsec-advisory-db) rev; + }; +} |