diff options
Diffstat (limited to 'pkgs/applications/altcoins/ethabi.nix')
-rw-r--r-- | pkgs/applications/altcoins/ethabi.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/altcoins/ethabi.nix b/pkgs/applications/altcoins/ethabi.nix new file mode 100644 index 000000000000..b92a656c0833 --- /dev/null +++ b/pkgs/applications/altcoins/ethabi.nix @@ -0,0 +1,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; + }; +} |