summary refs log tree commit diff
path: root/pkgs/applications/altcoins/ethabi.nix
blob: c584dd65ebb8049faf42a85e4c56e34a6c12a615 (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
25
26
{ stdenv, fetchFromGitHub, rustPlatform }:

with rustPlatform;

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

  src = fetchFromGitHub {
    owner = "paritytech";
    repo = "ethabi";
    rev = "18ddc983d77b2a97e6c322abcc23bec59940d65f";
    sha256 = "1rg7ydvnhlg8w6blilm3cv6v4q51x1hgrbkln2ikhpdq0vakp5fd";
  };

  depsSha256 = "1n4rxipna307r4xppb2iaads7kpa3yjv99fimvpn8l0f999ir2rz";

  cargoBuildFlags = ["--features cli"];

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