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




                                          
                   
                    

                         
                         
                    
                        
                                                                    

    
                                                                       
 

                                       
                           

                                                                  

                                         


                    
{ stdenv, fetchFromGitHub, rustPlatform }:

with rustPlatform;

buildRustPackage rec {
  pname = "ethabi";
  version = "7.0.0";

  src = fetchFromGitHub {
    owner = "paritytech";
    repo = "ethabi";
    rev = "v${version}";
    sha256 = "1gqd3vwsvv1wvi659qcdywgmh41swblpwmmxb033k8irw581dwq4";
  };

  cargoSha256 = "0zkdai31jf8f5syklaxq43ydjvp5xclr8pd6y1q6vkwjz6z49hzm";

  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;
  };
}