2016-08-17 21:38:41 +02:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "ethabi-${version}";
|
2017-04-11 05:39:03 +02:00
|
|
|
version = "1.0.4";
|
2016-08-17 21:38:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-04-11 05:39:03 +02:00
|
|
|
owner = "paritytech";
|
2016-08-17 21:38:41 +02:00
|
|
|
repo = "ethabi";
|
2017-04-11 05:39:03 +02:00
|
|
|
rev = "18ddc983d77b2a97e6c322abcc23bec59940d65f";
|
|
|
|
sha256 = "1rg7ydvnhlg8w6blilm3cv6v4q51x1hgrbkln2ikhpdq0vakp5fd";
|
2016-08-17 21:38:41 +02:00
|
|
|
};
|
|
|
|
|
2017-08-05 16:38:48 +02:00
|
|
|
cargoSha256 = "0i9617qwc6d4jvlbydwk03rcsnyvxzpbn2ms10ds4r6x7jy2a4sy";
|
2016-08-17 21:38:41 +02:00
|
|
|
|
2017-05-24 16:52:07 +02:00
|
|
|
cargoBuildFlags = ["--features cli"];
|
|
|
|
|
2016-08-17 21:38:41 +02:00
|
|
|
meta = {
|
|
|
|
description = "Ethereum function call encoding (ABI) utility";
|
|
|
|
homepage = https://github.com/ethcore/ethabi/;
|
|
|
|
maintainers = [stdenv.lib.maintainers.dbrock];
|
|
|
|
inherit version;
|
|
|
|
};
|
|
|
|
}
|