10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
15 owner = "EmbarkStudios";
18 hash = "sha256-RfXKTACAVmQffOFHpQHDi/BgiMNRVuS8j4aLslMYL1Q=";
21 cargoHash = "sha256-ywDjdlPhqqs740zGcwA8Ee9/TQ/sEiulSgGSejY41oY=";
29 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
30 darwin.apple_sdk.frameworks.Security
31 darwin.apple_sdk.frameworks.SystemConfiguration
35 ZSTD_SYS_USE_PKG_CONFIG = true;
38 # tests require internet access
42 description = "Cargo plugin to generate list of all licenses for a crate";
43 mainProgram = "cargo-deny";
44 homepage = "https://github.com/EmbarkStudios/cargo-deny";
45 changelog = "https://github.com/EmbarkStudios/cargo-deny/blob/${version}/CHANGELOG.md";
46 license = with licenses; [ asl20 /* or */ mit ];
47 maintainers = with maintainers; [ figsoda matthiasbeyer jk ];