ethabi: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-15 12:20:20 +02:00 committed by Jonathan Ringer
parent e957b3c5b8
commit 2594e82216

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "ethabi";
@ -15,6 +15,8 @@ rustPlatform.buildRustPackage rec {
cargoPatches = [ ./add-Cargo-lock.patch ];
buildInputs = lib.optional stdenv.isDarwin libiconv;
meta = with lib; {
description = "Ethereum function call encoding (ABI) utility";
homepage = "https://github.com/rust-ethereum/ethabi";