Merge pull request #122546 from stephank/fix-cargo-about-darwin
cargo-about: fix darwin build
This commit is contained in:
commit
188a70bde5
@ -1,4 +1,4 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-about";
|
pname = "cargo-about";
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
@ -12,6 +12,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-NdzgIB6uXMtGiLwOACEIeAb4iv7mYLnwRte3M/TkSMA=";
|
cargoSha256 = "sha256-NdzgIB6uXMtGiLwOACEIeAb4iv7mYLnwRte3M/TkSMA=";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Cargo plugin to generate list of all licenses for a crate";
|
description = "Cargo plugin to generate list of all licenses for a crate";
|
||||||
homepage = "https://github.com/EmbarkStudios/cargo-about";
|
homepage = "https://github.com/EmbarkStudios/cargo-about";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user