3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/blockchains/ethabi/default.nix

26 lines
659 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
2016-08-17 20:38:41 +01:00
2020-02-15 21:12:41 +00:00
rustPlatform.buildRustPackage rec {
2019-08-31 12:41:23 +01:00
pname = "ethabi";
2021-05-08 16:48:50 +01:00
version = "13.0.0";
2016-08-17 20:38:41 +01:00
src = fetchFromGitHub {
2021-05-08 16:48:50 +01:00
owner = "rust-ethereum";
2016-08-17 20:38:41 +01:00
repo = "ethabi";
2018-03-02 13:19:29 +00:00
rev = "v${version}";
2021-05-08 16:48:50 +01:00
sha256 = "sha256-bl46CSVP1MMYI3tkVAHFrjMFwTt8QoleZCV9pMIMZyc=";
2016-08-17 20:38:41 +01:00
};
2021-05-08 16:48:50 +01:00
cargoSha256 = "sha256-Jz0uEP2/ZjLS+GbCp7lNyJQdFDjTSFthjBdC/Z4tkTs=";
cargoPatches = [ ./add-Cargo-lock.patch ];
meta = with lib; {
2016-08-17 20:38:41 +01:00
description = "Ethereum function call encoding (ABI) utility";
2021-05-08 16:48:50 +01:00
homepage = "https://github.com/rust-ethereum/ethabi";
2018-09-01 13:04:59 +01:00
maintainers = [ maintainers.dbrock ];
2021-05-08 16:48:50 +01:00
license = licenses.asl20;
2016-08-17 20:38:41 +01:00
inherit version;
};
}