File tree Expand file tree Collapse file tree 2 files changed +12
-20
lines changed
development/tools/rust/cargo-vet Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 rustPlatform ,
44 fetchFromGitHub ,
5- stdenv ,
6- Security ,
75} :
86
9- rustPlatform . buildRustPackage rec {
7+ rustPlatform . buildRustPackage ( finalAttrs : {
108 pname = "cargo-vet" ;
11- version = "0.8.0 " ;
9+ version = "0.10.1 " ;
1210
1311 src = fetchFromGitHub {
1412 owner = "mozilla" ;
15- repo = pname ;
16- rev = version ;
17- sha256 = "sha256-VnOqQ1dKgNZSHTzJrD7stoCzNGrSkYxcLDJAsrJUsEQ =" ;
13+ repo = "cargo-vet" ;
14+ tag = "v ${ finalAttrs . version } " ;
15+ hash = "sha256-HSEhFCcdC79OA8MP73De+iLIjcr1XMHxfJ9a1Q3JJYI =" ;
1816 } ;
1917
2018 useFetchCargoVendor = true ;
21- cargoHash = "sha256-8QbXZtf5kry0/QDrnUVQCtqK4/6EMliOI4Z410QR2Ec=" ;
22-
23- buildInputs = lib . optional stdenv . hostPlatform . isDarwin Security ;
19+ cargoHash = "sha256-+X6DLxWPWMcGzJMVZAj3C5P5MyywIb4ml0Jsyo9/uAE=" ;
2420
2521 # the test_project tests require internet access
26- checkFlags = [
27- "--skip=test_project"
28- ] ;
22+ checkFlags = [ "--skip=test_project" ] ;
2923
30- meta = with lib ; {
24+ meta = {
3125 description = "Tool to help projects ensure that third-party Rust dependencies have been audited by a trusted source" ;
3226 mainProgram = "cargo-vet" ;
3327 homepage = "https://mozilla.github.io/cargo-vet" ;
34- license = with licenses ; [
28+ license = with lib . licenses ; [
3529 asl20 # or
3630 mit
3731 ] ;
38- maintainers = with maintainers ; [
32+ maintainers = with lib . maintainers ; [
3933 figsoda
4034 jk
4135 matthiasbeyer
4236 ] ;
4337 } ;
44- }
38+ } )
Original file line number Diff line number Diff line change @@ -7009,9 +7009,7 @@ with pkgs;
70097009 cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
70107010 inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
70117011 };
7012- cargo-vet = callPackage ../development/tools/rust/cargo-vet {
7013- inherit (darwin.apple_sdk.frameworks) Security;
7014- };
7012+ cargo-vet = callPackage ../development/tools/rust/cargo-vet { };
70157013 cargo-watch = callPackage ../development/tools/rust/cargo-watch {
70167014 inherit (darwin.apple_sdk.frameworks) Foundation Cocoa;
70177015 };
You can’t perform that action at this time.
0 commit comments