11 rustPlatform.buildRustPackage rec {
12 pname = "cargo-about";
15 src = fetchFromGitHub {
16 owner = "EmbarkStudios";
19 sha256 = "sha256-KFTG4FmmEji+0yNTwrunqOQuaU+qUcu1Vg7ZqoeUy4c=";
22 cargoHash = "sha256-bCw30ooQdSMRD3oM9BeUt9sJe5v+ketO73FjEypNy9s=";
24 nativeBuildInputs = [ pkg-config ];
28 ++ lib.optionals stdenv.hostPlatform.isDarwin [
29 darwin.apple_sdk.frameworks.Security
30 darwin.apple_sdk.frameworks.SystemConfiguration
34 ZSTD_SYS_USE_PKG_CONFIG = true;
38 description = "Cargo plugin to generate list of all licenses for a crate";
39 homepage = "https://github.com/EmbarkStudios/cargo-about";
40 changelog = "https://github.com/EmbarkStudios/cargo-about/blob/${version}/CHANGELOG.md";
41 license = with licenses; [
45 maintainers = with maintainers; [
50 mainProgram = "cargo-about";