depot/third_party/nixpkgs/pkgs/applications/blockchains/ethabi.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
616 B
Nix

{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "ethabi";
version = "11.0.0";
src = fetchFromGitHub {
owner = "paritytech";
repo = "ethabi";
rev = "v${version}";
sha256 = "1gqd3vwsvv1wvi659qcdywgmh41swblpwmmxb033k8irw581dwq4";
};
cargoSha256 = "1hx8qw51rl7sn9jmnclw0hc4rx619hf78hpaih5mvny3k0zgiwpm";
meta = with stdenv.lib; {
description = "Ethereum function call encoding (ABI) utility";
homepage = "https://github.com/ethcore/ethabi/";
maintainers = [ maintainers.dbrock ];
license = licenses.gpl3;
inherit version;
};
}