Merge pull request #24819 from dbrock/ethrun
ethrun: init at 0.1.0
commita0e60af06750c541a1b28ddbd965ff1aa1699978
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>
dateFri 21 Apr 2017, 23:54 (10 years ago)
parentd387a1f881595a
pkgs/applications/altcoins/default.nix+1
@@ -35,6 +35,7 @@ rec {
3535 namecoind = callPackage ./namecoind.nix { };
3636
3737 ethabi = callPackage ./ethabi.nix { };
38+ ethrun = callPackage ./ethrun.nix { };
3839
3940 primecoin = callPackage ./primecoin.nix { withGui = true; };
4041 primecoind = callPackage ./primecoin.nix { withGui = false; };
pkgs/applications/altcoins/ethrun.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, rustPlatform }:
2+
3+with rustPlatform;
4+
5+buildRustPackage rec {
6+ name = "ethrun-${version}";
7+ version = "0.1.0";
8+
9+ src = fetchFromGitHub {
10+ owner = "dapphub";
11+ repo = "ethrun";
12+ rev = "v${version}";
13+ sha256 = "1w651g4p2mc4ljp20l8lwvfx3l3fzyp6gf2izr85vyb1wjbaccqn";
14+ };
15+
16+ depsSha256 = "14x8pbjgkz0g724lnvd9mi2alqd6fipjljw6xsraf9gqwijn1knq";
17+
18+ meta = {
19+ description = "Directly run Ethereum bytecode";
20+ homepage = https://github.com/dapphub/ethrun/;
21+ maintainers = [stdenv.lib.maintainers.dbrock];
22+ inherit version;
23+ };
24+}
pkgs/top-level/all-packages.nix+1
@@ -12931,6 +12931,7 @@ with pkgs;
1293112931
1293212932 go-ethereum = self.altcoins.go-ethereum;
1293312933 ethabi = self.altcoins.ethabi;
12934+ ethrun = self.altcoins.ethrun;
1293412935
1293512936 stellar-core = self.altcoins.stellar-core;
1293612937