nixpkgs/pkgs/applications/altcoins/ethabi.nix

27 lines
663 B
Nix
Raw Normal View History

2016-08-17 20:38:41 +01:00
{ stdenv, fetchFromGitHub, rustPlatform }:
with rustPlatform;
buildRustPackage rec {
name = "ethabi-${version}";
2017-04-11 04:39:03 +01:00
version = "1.0.4";
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";
2017-04-11 04:39:03 +01:00
rev = "18ddc983d77b2a97e6c322abcc23bec59940d65f";
sha256 = "1rg7ydvnhlg8w6blilm3cv6v4q51x1hgrbkln2ikhpdq0vakp5fd";
2016-08-17 20:38:41 +01:00
};
cargoSha256 = "0i9617qwc6d4jvlbydwk03rcsnyvxzpbn2ms10ds4r6x7jy2a4sy";
2016-08-17 20:38:41 +01:00
cargoBuildFlags = ["--features cli"];
2016-08-17 20:38:41 +01:00
meta = {
description = "Ethereum function call encoding (ABI) utility";
homepage = https://github.com/ethcore/ethabi/;
maintainers = [stdenv.lib.maintainers.dbrock];
inherit version;
};
}