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