From 016f9cf6b52030da3385e87df00e3057dfbaed55 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 21 Sep 2021 14:19:28 -0400 Subject: cargo-supply-chain: init at 0.0.2 --- .../tools/rust/cargo-supply-chain/default.nix | 23 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/tools/rust/cargo-supply-chain/default.nix (limited to 'pkgs') diff --git a/pkgs/development/tools/rust/cargo-supply-chain/default.nix b/pkgs/development/tools/rust/cargo-supply-chain/default.nix new file mode 100644 index 00000000000..b8d960c4650 --- /dev/null +++ b/pkgs/development/tools/rust/cargo-supply-chain/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-supply-chain"; + version = "0.0.2"; + + src = fetchFromGitHub { + owner = "rust-secure-code"; + repo = pname; + rev = "v${version}"; + sha256 = "0kpm842p7l0vwbfa99zq3w3nsasy5sp1b99si7brjjvq99bad9gr"; + }; + + cargoSha256 = "sha256-Mn5s6pfTHoFXtHqn6ii8PtAIBz/RJaR0zO5U5jS3UDU="; + + meta = with lib; { + description = "Gather author, contributor and publisher data on crates in your dependency graph"; + homepage = "https://github.com/rust-secure-code/cargo-supply-chain"; + changelog = "https://github.com/rust-secure-code/cargo-supply-chain/blob/master/CHANGELOG.md"; + license = with licenses; [ asl20 mit zlib ]; # any of three + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dc3fefc6e1e..3e6fa51e2b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12470,6 +12470,7 @@ with pkgs; cargo-readme = callPackage ../development/tools/rust/cargo-readme {}; cargo-sort = callPackage ../development/tools/rust/cargo-sort { }; cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { }; + cargo-supply-chain = callPackage ../development/tools/rust/cargo-supply-chain { }; cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { }; cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {}; cargo-tally = callPackage ../development/tools/rust/cargo-tally { -- cgit 1.4.1