hsevm: v0.3.2 -> v0.6.4

This commit is contained in:
Mikael Brockman 2017-07-31 13:12:08 +03:00 committed by Franz Pletz
parent 60bdca87e3
commit dd2d140241

View File

@ -1,23 +1,24 @@
{ aeson, ansi-wl-pprint, base, base16-bytestring { mkDerivation, abstract-par, aeson, ansi-wl-pprint, base
, base64-bytestring, binary, brick, bytestring, containers , base16-bytestring, base64-bytestring, binary, brick, bytestring
, cryptonite, data-dword, deepseq, directory, filepath, ghci-pretty , cereal, containers, cryptonite, data-dword, deepseq, directory
, here, HUnit, lens, lens-aeson, memory, mtl, optparse-generic , filepath, ghci-pretty, here, HUnit, lens, lens-aeson, memory
, process, QuickCheck, quickcheck-text, readline, rosezipper , monad-par, mtl, optparse-generic, process, QuickCheck
, stdenv, tasty, tasty-hunit, tasty-quickcheck, temporary, text , quickcheck-text, readline, rosezipper, scientific, stdenv, tasty, tasty-hunit
, text-format, unordered-containers, vector, vty , tasty-quickcheck, temporary, text, text-format
, mkDerivation, fetchFromGitHub, lib , unordered-containers, vector, vty
, ncurses, zlib, bzip2, solc , fetchFromGitHub, lib, makeWrapper
, ncurses, zlib, bzip2, solc, coreutils
}: }:
lib.overrideDerivation (mkDerivation rec { lib.overrideDerivation (mkDerivation rec {
pname = "hsevm"; pname = "hsevm";
version = "0.3.2"; version = "0.6.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dapphub"; owner = "dapphub";
repo = "hsevm"; repo = "hsevm";
rev = "v${version}"; rev = "v${version}";
sha256 = "1c6zpphs03yfvyfbv1cjf04qh5q2miq7rpd7kx2cil77msi8hxw4"; sha256 = "01b67k9cam4gvsi07q3vx527m1w6p6xll64k1nl27bc8ik6jh8l9";
}; };
isLibrary = false; isLibrary = false;
@ -26,15 +27,16 @@ lib.overrideDerivation (mkDerivation rec {
postInstall = '' postInstall = ''
rm -rf $out/{lib,share} rm -rf $out/{lib,share}
wrapProgram $out/bin/hsevm --add-flags '+RTS -N$((`${coreutils}/bin/nproc` - 1)) -RTS'
''; '';
extraLibraries = [ extraLibraries = [
aeson ansi-wl-pprint base base16-bytestring base64-bytestring abstract-par aeson ansi-wl-pprint base base16-bytestring
binary brick bytestring containers cryptonite data-dword deepseq base64-bytestring binary brick bytestring cereal containers
directory filepath ghci-pretty lens lens-aeson memory mtl cryptonite data-dword deepseq directory filepath ghci-pretty lens
optparse-generic process QuickCheck quickcheck-text readline lens-aeson memory monad-par mtl optparse-generic process QuickCheck
rosezipper temporary text text-format unordered-containers vector quickcheck-text readline rosezipper scientific temporary text text-format
vty unordered-containers vector vty
]; ];
executableHaskellDepends = [ executableHaskellDepends = [
readline zlib bzip2 readline zlib bzip2
@ -50,4 +52,5 @@ lib.overrideDerivation (mkDerivation rec {
maintainers = [stdenv.lib.maintainers.dbrock]; maintainers = [stdenv.lib.maintainers.dbrock];
}) (attrs: { }) (attrs: {
buildInputs = attrs.buildInputs ++ [solc]; buildInputs = attrs.buildInputs ++ [solc];
nativeBuildInputs = attrs.nativeBuildInputs ++ [makeWrapper];
}) })