@ -1,24 +1,28 @@
{ mkDerivation , abstract-par , aeson , ansi-wl-pprint , base
{ mkDerivation , abstract-par , aeson , ansi-wl-pprint , async , base
, base16-bytestring , base64-bytestring , binary , brick , bytestring
, cereal , containers , cryptonite , data-dword , deepseq , directory
, filepath , ghci-pretty , here , HUnit , lens , lens-aeson , memory
, monad-par , mtl , optparse-generic , process , QuickCheck
, quickcheck-text , readline , rosezipper , scientific , stdenv , tasty , tasty-hunit
, tasty-quickcheck , temporary , text , text-format
, unordered-containers , vector , vty
, filepath , ghci-pretty , here , HUnit , lens
, lens-aeson , memory , monad-par , mtl , optparse-generic , process
, QuickCheck , quickcheck-text , readline , rosezipper , scientific
, stdenv , tasty , tasty-hunit , tasty-quickcheck , temporary , text
, text-format , time , unordered-containers , vector , vty
, restless-git
, fetchFromGitHub , lib , makeWrapper
, ncurses , zlib , bzip2 , solc , coreutils
, bash
} :
lib . overrideDerivation ( mkDerivation rec {
pname = " h s ev m " ;
version = " 0 . 6 . 4 " ;
pname = " h e v m " ;
version = " 0 . 8 . 5 " ;
src = fetchFromGitHub {
owner = " d a p p h u b " ;
repo = " h s ev m " ;
repo = " h e v m " ;
rev = " v ${ version } " ;
sha256 = " 0 1 b 6 7 k 9 c a m 4 g v s i 0 7 q 3 v x 5 2 7 m 1 w 6 p 6 x l l 6 4 k 1 n l 2 7 b c 8 i k 6 j h 8 l 9 " ;
sha256 = " 1 a 2 7 b h 0 a z f 2 h d g 5 h p 6 s 9 a z v 2 r h z y 7 v r l q 1 k m g 6 8 8 g 9 n f w w w h g k p 0 " ;
} ;
isLibrary = false ;
@ -26,8 +30,9 @@ lib.overrideDerivation (mkDerivation rec {
enableSharedExecutables = false ;
postInstall = ''
rm - rf $ out / { lib , share }
wrapProgram $ out/bin/hsevm - - add-flags ' + RTS - N $ ( ( ` $ { coreutils } /bin/nproc ` - 1 ) ) - RTS'
wrapProgram $ out/bin/hevm \
- - add-flags ' + RTS - N $ ( ( ` $ { coreutils } /bin/nproc ` - 1 ) ) - RTS' \
- - suffix PATH : " ${ lib . makeBinPath [ bash coreutils ] } "
'' ;
extraLibraries = [
@ -36,17 +41,17 @@ lib.overrideDerivation (mkDerivation rec {
cryptonite data-dword deepseq directory filepath ghci-pretty lens
lens-aeson memory monad-par mtl optparse-generic process QuickCheck
quickcheck-text readline rosezipper scientific temporary text text-format
unordered-containers vector vty
unordered-containers vector vty restless-git
] ;
executableHaskellDepends = [
readline zlib bzip2
async readline zlib bzip2
] ;
testHaskellDepends = [
base binary bytestring ghci-pretty here HUnit lens mtl QuickCheck
tasty tasty-hunit tasty-quickcheck text vector
] ;
homepage = https://github.com/dapphub/hs evm ;
homepage = https://github.com/dapphub/hevm ;
description = " E t h e r e u m v i r t u a l m a c h i n e e v a l u a t o r " ;
license = stdenv . lib . licenses . agpl3 ;
maintainers = [ stdenv . lib . maintainers . dbrock ] ;