@@ -1,4 +1,4 @@
1−{ lib, rustPlatform, fetchFromGitHub }:
1+{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
22rustPlatform.buildRustPackage rec {
33 pname = "cargo-about";
44 version = "0.3.0";
@@ -12,6 +12,8 @@ rustPlatform.buildRustPackage rec {
1212
1313 cargoSha256 = "sha256-NdzgIB6uXMtGiLwOACEIeAb4iv7mYLnwRte3M/TkSMA=";
1414
15+ buildInputs = lib.optional stdenv.isDarwin libiconv;
16+
1517 meta = with lib; {
1618 description = "Cargo plugin to generate list of all licenses for a crate";
1719 homepage = "https://github.com/EmbarkStudios/cargo-about";