Merge pull request #24819 from dbrock/ethrun

ethrun: init at 0.1.0

Changed files
+26
pkgs
applications
top-level
+1
pkgs/applications/altcoins/default.nix
···
namecoind = callPackage ./namecoind.nix { };
ethabi = callPackage ./ethabi.nix { };
+
ethrun = callPackage ./ethrun.nix { };
primecoin = callPackage ./primecoin.nix { withGui = true; };
primecoind = callPackage ./primecoin.nix { withGui = false; };
+24
pkgs/applications/altcoins/ethrun.nix
···
+
{ stdenv, fetchFromGitHub, rustPlatform }:
+
+
with rustPlatform;
+
+
buildRustPackage rec {
+
name = "ethrun-${version}";
+
version = "0.1.0";
+
+
src = fetchFromGitHub {
+
owner = "dapphub";
+
repo = "ethrun";
+
rev = "v${version}";
+
sha256 = "1w651g4p2mc4ljp20l8lwvfx3l3fzyp6gf2izr85vyb1wjbaccqn";
+
};
+
+
depsSha256 = "14x8pbjgkz0g724lnvd9mi2alqd6fipjljw6xsraf9gqwijn1knq";
+
+
meta = {
+
description = "Directly run Ethereum bytecode";
+
homepage = https://github.com/dapphub/ethrun/;
+
maintainers = [stdenv.lib.maintainers.dbrock];
+
inherit version;
+
};
+
}
+1
pkgs/top-level/all-packages.nix
···
go-ethereum = self.altcoins.go-ethereum;
ethabi = self.altcoins.ethabi;
+
ethrun = self.altcoins.ethrun;
stellar-core = self.altcoins.stellar-core;