summary refs log blame commit diff
path: root/pkgs/applications/altcoins/ethabi.nix
blob: e8fb1c49828eef8e64835018445fb9b2191d76cd (plain) (tree)
1
2
3
4
5
6
7
8
9





                                          
                    

                         
                         
                    

                                                                    

    
                                                                       
 

                                       






                                                                  
{ stdenv, fetchFromGitHub, rustPlatform }:

with rustPlatform;

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

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

  cargoSha256 = "0i9617qwc6d4jvlbydwk03rcsnyvxzpbn2ms10ds4r6x7jy2a4sy";

  cargoBuildFlags = ["--features cli"];

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