diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/altcoins/ethabi.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/altcoins/ethabi.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/altcoins/ethabi.nix b/nixpkgs/pkgs/applications/altcoins/ethabi.nix new file mode 100644 index 000000000000..d0bc700eb70f --- /dev/null +++ b/nixpkgs/pkgs/applications/altcoins/ethabi.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, rustPlatform }: + +with rustPlatform; + +buildRustPackage rec { + name = "ethabi-${version}"; + version = "4.1.0"; + + src = fetchFromGitHub { + owner = "paritytech"; + repo = "ethabi"; + rev = "v${version}"; + sha256 = "0kxflixmgycdh7sv73zf2mrkbcfzzw7f5sjbsjks9crc9cvjqi6p"; + }; + + cargoSha256 = "18rigpsmfiv6im2sspnxadgqrlfdp9dd75ji8s56ksc9g7hrc3wz"; + + cargoBuildFlags = ["--features cli"]; + + 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; + }; +} |