Merge pull request #27151 from dbrock/seth

seth: 0.5.1 -> 0.5.6
This commit is contained in:
Frederik Rietdijk 2017-07-07 18:02:03 +02:00 committed by GitHub
commit 50430cb97b

View File

@ -1,22 +1,22 @@
{ stdenv, makeWrapper, lib, fetchFromGitHub
, bc, coreutils, curl, ethabi, git, gnused, jshon, solc, which }:
, bc, coreutils, curl, ethabi, git, gnused, jshon, perl, solc, which }:
stdenv.mkDerivation rec {
name = "seth-${version}";
version = "0.5.1";
version = "0.5.6";
src = fetchFromGitHub {
owner = "dapphub";
repo = "seth";
rev = "v${version}";
sha256 = "1qph1gldj24r8l6aswb1w133lrm8zsxmmxl4krjik0a73bm4ghdm";
sha256 = "1zl70xy7njjwy4k4g84v7lpf9a2nnnbxh4mkpw7jzqfs2mr636z6";
};
nativeBuildInputs = [makeWrapper];
buildPhase = "true";
makeFlags = ["prefix=$(out)"];
postInstall = let path = lib.makeBinPath [
bc coreutils curl ethabi git gnused jshon solc which
bc coreutils curl ethabi git gnused jshon perl solc which
]; in ''
wrapProgram "$out/bin/seth" --prefix PATH : "${path}"
'';