cargo-feature: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-11 10:17:50 +02:00
parent 188a70bde5
commit d9fa8e811e

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "cargo-feature";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0nvl5smibl81b826xcsrjx8p89lcfpj7wqdsvywnj7jd3p5ag03n";
buildInputs = lib.optional stdenv.isDarwin libiconv;
meta = with lib; {
description = "Allows conveniently modify features of crate";
homepage = "https://github.com/Riey/cargo-feature";