ethabi: fix darwin build
This commit is contained in:
parent
e957b3c5b8
commit
2594e82216
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitHub, rustPlatform }:
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ethabi";
|
pname = "ethabi";
|
||||||
|
@ -15,6 +15,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoPatches = [ ./add-Cargo-lock.patch ];
|
cargoPatches = [ ./add-Cargo-lock.patch ];
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Ethereum function call encoding (ABI) utility";
|
description = "Ethereum function call encoding (ABI) utility";
|
||||||
homepage = "https://github.com/rust-ethereum/ethabi";
|
homepage = "https://github.com/rust-ethereum/ethabi";
|
||||||
|
|
Loading…
Reference in a new issue