2016-08-17 19:38:41 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "ethabi";
|
2019-04-10 09:48:30 +00:00
|
|
|
version = "7.0.0";
|
2016-08-17 19:38:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-04-11 03:39:03 +00:00
|
|
|
owner = "paritytech";
|
2016-08-17 19:38:41 +00:00
|
|
|
repo = "ethabi";
|
2018-03-02 13:19:29 +00:00
|
|
|
rev = "v${version}";
|
2019-04-10 09:48:30 +00:00
|
|
|
sha256 = "1gqd3vwsvv1wvi659qcdywgmh41swblpwmmxb033k8irw581dwq4";
|
2016-08-17 19:38:41 +00:00
|
|
|
};
|
|
|
|
|
2019-05-25 11:03:08 +00:00
|
|
|
cargoSha256 = "0zkdai31jf8f5syklaxq43ydjvp5xclr8pd6y1q6vkwjz6z49hzm";
|
2016-08-17 19:38:41 +00:00
|
|
|
|
2017-05-24 14:52:07 +00:00
|
|
|
cargoBuildFlags = ["--features cli"];
|
|
|
|
|
2018-09-01 12:04:59 +00:00
|
|
|
meta = with stdenv.lib; {
|
2016-08-17 19:38:41 +00:00
|
|
|
description = "Ethereum function call encoding (ABI) utility";
|
|
|
|
homepage = https://github.com/ethcore/ethabi/;
|
2018-09-01 12:04:59 +00:00
|
|
|
maintainers = [ maintainers.dbrock ];
|
|
|
|
license = licenses.gpl3;
|
2016-08-17 19:38:41 +00:00
|
|
|
inherit version;
|
|
|
|
};
|
|
|
|
}
|