summary refs log tree commit diff
path: root/pkgs/applications/altcoins/ethabi.nix
blob: b92a656c08337d86a0c0385a7ee25e783dfcffe3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, rustPlatform }:

with rustPlatform;

buildRustPackage rec {
  name = "ethabi-${version}";
  version = "0.2.1";

  src = fetchFromGitHub {
    owner = "ethcore";
    repo = "ethabi";
    rev = "fbed04984cab0db8767e01054ee16271b8e36281";
    sha256 = "1zgyyg1i5wmz8l1405yg5jmq4ddq530sl7018pkkc7l6cjj3bbhd";
  };

  depsSha256 = "0srxv0wbhvyflc967lkpd2mx5nk7asx2cbxa0qxvas16wy6vxz52";

  meta = {
    description = "Ethereum function call encoding (ABI) utility";
    homepage = https://github.com/ethcore/ethabi/;
    maintainers = [stdenv.lib.maintainers.dbrock];
    inherit version;
  };
}