mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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 {
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue