Merge pull request #122546 from stephank/fix-cargo-about-darwin

cargo-about: fix darwin build
This commit is contained in:
Jörg Thalheim 2021-05-11 09:10:55 +01:00 committed by GitHub
commit 188a70bde5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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