tvl-depot/third_party/rustsec-advisory-db/default.nix
sterni e855d140bd chore(3p/rustsec-advisory-db): track using niv
This will make sure that the db is updated regularly (on every channel
bump). This is fine, because an advisory no longer implies a build
failure.

Change-Id: I1dc0b335e0881b5c58015da63c3c47f1ab1e645f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4554
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-02-13 18:42:44 +00:00

19 lines
286 B
Nix

# 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;
};
}