nixpkgs/pkgs/applications/altcoins/ethabi.nix

27 lines
662 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
};
2017-04-11 04:39:03 +01:00
depsSha256 = "1n4rxipna307r4xppb2iaads7kpa3yjv99fimvpn8l0f999ir2rz";
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;
};
}