git.iko.soy/typeable/nixpkgs
on master help sign in
solc: 0.5.15 -> 0.6.8
commit46b3eca5fd3f1fbfa00a344d59e992da228edf1e authorFrancois-Rene Rideau <fare@tunes.org> dateFri 15 May 2020, 04:36 (7 years ago) parentad17c01
1 file changed+5−11
pkgs/development/compilers/solc/default.nix+5−11
pkgs/development/compilers/solc/default.nix+5−11
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, boost, cmake, ncurses, python2
1+{ stdenv, fetchzip, boost, cmake, ncurses, python3, coreutils
22, z3Support ? true, z3 ? null, cvc4Support ? true, cvc4 ? null
33, cln ? null, gmp ? null
44}:
@@ -16,12 +16,12 @@ in
1616stdenv.mkDerivation rec {
1717
1818 pname = "solc";
19− version = "0.5.15";
19+ version = "0.6.8";
2020
2121 # upstream suggests avoid using archive generated by github
2222 src = fetchzip {
2323 url = "https://github.com/ethereum/solidity/releases/download/v${version}/solidity_${version}.tar.gz";
24− sha256 = "1nfvsaci5ja5ss603z04197wndwkvcq9nm5mdab1kpdr91djxh2y";
24+ sha256 = "1nxds6c10hjqjjk893qw2yljws57li0xigbf3ih85y8y6d587ph0";
2525 };
2626
2727 postPatch = ''
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
4141 buildInputs = [ boost ]
4242 ++ stdenv.lib.optionals z3Support [ z3 ]
4343 ++ stdenv.lib.optionals cvc4Support [ cvc4 cln gmp ];
44− checkInputs = [ ncurses python2 ];
44+ checkInputs = [ ncurses python3 ];
4545
4646 # Test fails on darwin for unclear reason
4747 doCheck = stdenv.hostPlatform.isLinux;
@@ -56,13 +56,7 @@ stdenv.mkDerivation rec {
5656 pushd ..
5757 # IPC tests need aleth avaliable, so we disable it
5858 sed -i "s/IPC_ENABLED=true/IPC_ENABLED=false\nIPC_FLAGS=\"--no-ipc\"/" ./scripts/tests.sh
59− for i in ./scripts/*.sh; do
60− patchShebangs "$i"
61− done
62− for i in ./scripts/*.py; do
63− patchShebangs "$i"
64− done
65− for i in ./test/*.sh; do
59+ for i in ./scripts/*.sh ./scripts/*.py ./test/*.sh; do
6660 patchShebangs "$i"
6761 done
6862 TERM=xterm ./scripts/tests.sh