summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/blockchains/ethabi.nix
diff options
context:
space:
mode:
authorWilliam Casarin <jb55@jb55.com>2019-08-28 10:37:52 -0700
committerWilliam Casarin <jb55@jb55.com>2019-08-29 05:01:42 -0700
commit72682e46546d6d024a29e2fde009372e03b45b9f (patch)
tree4f5c749f3fdff3f182d9f7b005339aa10fd53897 /pkgs/applications/blockchains/ethabi.nix
parent58fd72f3e996856d5a4ba21ae25f87a82fe3e5dc (diff)
tree: rename altcoins to blockchains
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat (limited to 'pkgs/applications/blockchains/ethabi.nix')
-rw-r--r--pkgs/applications/blockchains/ethabi.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/ethabi.nix b/pkgs/applications/blockchains/ethabi.nix
new file mode 100644
index 000000000000..21d69f14d7f3
--- /dev/null
+++ b/pkgs/applications/blockchains/ethabi.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, rustPlatform }:
+
+with rustPlatform;
+
+buildRustPackage rec {
+ name = "ethabi-${version}";
+ 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;
+ };
+}