nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 32 lines 923 B view raw
1{ lib 2, rustPlatform 3, fetchFromGitHub 4, stdenv 5, darwin 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "cargo-supply-chain"; 10 version = "0.3.3"; 11 12 src = fetchFromGitHub { 13 owner = "rust-secure-code"; 14 repo = "cargo-supply-chain"; 15 rev = "v${version}"; 16 hash = "sha256-KjeYB9TFbuJ2KPaObeM0ADs5F8uJJ6/czMPQjBUgIk8="; 17 }; 18 19 cargoHash = "sha256-Fx1C4X0dQqePqLa+X+4ZDrIMFKBQ6J50nBApYXcGbFM="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 darwin.apple_sdk.frameworks.Security 23 ]; 24 25 meta = with lib; { 26 description = "Gather author, contributor and publisher data on crates in your dependency graph"; 27 homepage = "https://github.com/rust-secure-code/cargo-supply-chain"; 28 changelog = "https://github.com/rust-secure-code/cargo-supply-chain/blob/${src.rev}/CHANGELOG.md"; 29 license = with licenses; [ asl20 mit zlib ]; # any of three 30 maintainers = with maintainers; [ figsoda ]; 31 }; 32}