Merge pull request #311359 from RaghavSood/cargo-about/fix-build

cargo-about: add darwin dependency

authored by Weijia Wang and committed by GitHub 31b176d2 60f1c39a

+23 -12
+23 -12
pkgs/development/tools/rust/cargo-about/default.nix
··· 1 - { lib 2 - , rustPlatform 3 - , fetchFromGitHub 4 - , pkg-config 5 - , zstd 6 - , stdenv 7 - , darwin 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + pkg-config, 6 + zstd, 7 + stdenv, 8 + darwin, 8 9 }: 9 10 10 11 rustPlatform.buildRustPackage rec { ··· 22 23 23 24 nativeBuildInputs = [ pkg-config ]; 24 25 25 - buildInputs = [ zstd ] ++ lib.optionals stdenv.isDarwin [ 26 - darwin.apple_sdk.frameworks.Security 27 - ]; 26 + buildInputs = 27 + [ zstd ] 28 + ++ lib.optionals stdenv.isDarwin [ 29 + darwin.apple_sdk.frameworks.Security 30 + darwin.apple_sdk.frameworks.SystemConfiguration 31 + ]; 28 32 29 33 env = { 30 34 ZSTD_SYS_USE_PKG_CONFIG = true; ··· 34 38 description = "Cargo plugin to generate list of all licenses for a crate"; 35 39 homepage = "https://github.com/EmbarkStudios/cargo-about"; 36 40 changelog = "https://github.com/EmbarkStudios/cargo-about/blob/${version}/CHANGELOG.md"; 37 - license = with licenses; [ mit /* or */ asl20 ]; 38 - maintainers = with maintainers; [ evanjs figsoda matthiasbeyer ]; 41 + license = with licenses; [ 42 + mit # or 43 + asl20 44 + ]; 45 + maintainers = with maintainers; [ 46 + evanjs 47 + figsoda 48 + matthiasbeyer 49 + ]; 39 50 mainProgram = "cargo-about"; 40 51 }; 41 52 }