nixpkgs/pkgs/applications/altcoins/ethabi.nix

28 lines
671 B
Nix
Raw Normal View History

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