Unverified Commit aceee00a authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

cargo-vet: 0.8.0 -> 0.10.1 (#399274)

parents c132f6c2 6441a16a
Loading
Loading
Loading
Loading
+11 −17
Original line number Diff line number Diff line
@@ -2,43 +2,37 @@
  lib,
  rustPlatform,
  fetchFromGitHub,
  stdenv,
  Security,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "cargo-vet";
  version = "0.8.0";
  version = "0.10.1";

  src = fetchFromGitHub {
    owner = "mozilla";
    repo = pname;
    rev = version;
    sha256 = "sha256-VnOqQ1dKgNZSHTzJrD7stoCzNGrSkYxcLDJAsrJUsEQ=";
    repo = "cargo-vet";
    tag = "v${finalAttrs.version}";
    hash = "sha256-HSEhFCcdC79OA8MP73De+iLIjcr1XMHxfJ9a1Q3JJYI=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-8QbXZtf5kry0/QDrnUVQCtqK4/6EMliOI4Z410QR2Ec=";

  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
  cargoHash = "sha256-+X6DLxWPWMcGzJMVZAj3C5P5MyywIb4ml0Jsyo9/uAE=";

  # the test_project tests require internet access
  checkFlags = [
    "--skip=test_project"
  ];
  checkFlags = [ "--skip=test_project" ];

  meta = with lib; {
  meta = {
    description = "Tool to help projects ensure that third-party Rust dependencies have been audited by a trusted source";
    mainProgram = "cargo-vet";
    homepage = "https://mozilla.github.io/cargo-vet";
    license = with licenses; [
    license = with lib.licenses; [
      asl20 # or
      mit
    ];
    maintainers = with maintainers; [
    maintainers = with lib.maintainers; [
      figsoda
      jk
      matthiasbeyer
    ];
  };
}
})
+1 −3
Original line number Diff line number Diff line
@@ -7009,9 +7009,7 @@ with pkgs;
  cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
    inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
  };
  cargo-vet = callPackage ../development/tools/rust/cargo-vet {
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  cargo-vet = callPackage ../development/tools/rust/cargo-vet { };
  cargo-watch = callPackage ../development/tools/rust/cargo-watch {
    inherit (darwin.apple_sdk.frameworks) Foundation Cocoa;
  };