11 rustPlatform.buildRustPackage rec {
12 pname = "cargo-about";
15 src = fetchFromGitHub {
16 owner = "EmbarkStudios";
19 sha256 = "sha256-HkhwSL3t++En9+cMnOjNWpBSedbnXFl8DCt9Fva69+s=";
22 cargoHash = "sha256-GdSgess8u/UG3BSCqDx8okVj5AiTKT3O28jDR+pXwvw=";
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";