mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
dapp: init at v0.5.2
Simple tool for creating Ethereum-based dapps
This commit is contained in:
parent
0eb4f6fd25
commit
8d9740e100
33
pkgs/applications/altcoins/dapp.nix
Normal file
33
pkgs/applications/altcoins/dapp.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, makeWrapper
|
||||||
|
, seth, git, solc, shellcheck, nodejs, hsevm }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "dapp";
|
||||||
|
version = "0.5.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dapphub";
|
||||||
|
repo = "dapp";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1529ml5r1l5g6xcak7k3h3ih214mgnk87jsxyk0rvk245jkard1y";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [makeWrapper shellcheck];
|
||||||
|
buildPhase = "true";
|
||||||
|
doCheck = false;
|
||||||
|
checkPhase = "make test";
|
||||||
|
makeFlags = ["prefix=$(out)"];
|
||||||
|
postInstall = let path = lib.makeBinPath [
|
||||||
|
nodejs solc git seth hsevm
|
||||||
|
]; in ''
|
||||||
|
wrapProgram "$out/bin/dapp" --prefix PATH : "${path}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Simple tool for creating Ethereum-based dapps";
|
||||||
|
homepage = https://github.com/dapphub/dapp/;
|
||||||
|
maintainers = [stdenv.lib.maintainers.dbrock];
|
||||||
|
license = lib.licenses.gpl3;
|
||||||
|
inherit version;
|
||||||
|
};
|
||||||
|
}
|
@ -38,6 +38,7 @@ rec {
|
|||||||
ethabi = callPackage ./ethabi.nix { };
|
ethabi = callPackage ./ethabi.nix { };
|
||||||
ethrun = callPackage ./ethrun.nix { };
|
ethrun = callPackage ./ethrun.nix { };
|
||||||
seth = callPackage ./seth.nix { };
|
seth = callPackage ./seth.nix { };
|
||||||
|
dapp = callPackage ./dapp.nix { };
|
||||||
|
|
||||||
hsevm = (pkgs.haskellPackages.callPackage ./hsevm.nix {});
|
hsevm = (pkgs.haskellPackages.callPackage ./hsevm.nix {});
|
||||||
|
|
||||||
|
@ -13337,6 +13337,7 @@ with pkgs;
|
|||||||
ethabi = self.altcoins.ethabi;
|
ethabi = self.altcoins.ethabi;
|
||||||
ethrun = self.altcoins.ethrun;
|
ethrun = self.altcoins.ethrun;
|
||||||
seth = self.altcoins.seth;
|
seth = self.altcoins.seth;
|
||||||
|
dapp = self.altcoins.dapp;
|
||||||
hsevm = self.altcoins.hsevm;
|
hsevm = self.altcoins.hsevm;
|
||||||
|
|
||||||
stellar-core = self.altcoins.stellar-core;
|
stellar-core = self.altcoins.stellar-core;
|
||||||
|
Loading…
Reference in New Issue
Block a user