solc: v0.4.13 -> v0.4.16 (#28732)
Also add the Z3 SMT solver as a dependency, since the new solc can use it for checking assertions and stuff (which is awesome).
This commit is contained in:
parent
e36afa80e3
commit
3d107c15bd
|
@ -1,9 +1,9 @@
|
||||||
{ stdenv, fetchzip, fetchgit, boost, cmake }:
|
{ stdenv, fetchzip, fetchgit, boost, cmake, z3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.4.13";
|
version = "0.4.16";
|
||||||
rev = "0fb4cb1ab9bb4b6cc72e28cc5a1753ad14781f14";
|
rev = "d7661dd97460250b4e1127b9e7ea91e116143780";
|
||||||
sha256 = "0rhrm0bmk5s2358j40yx7dzr1938q17dchzflrxw6y7yvkhscxrm";
|
sha256 = "1fd69pdhkkkvbkrxipkck1icpqkpdskjzar48a1yzdsx3l8s4lil";
|
||||||
jsoncppURL = https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz;
|
jsoncppURL = https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz;
|
||||||
jsoncpp = fetchzip {
|
jsoncpp = fetchzip {
|
||||||
url = jsoncppURL;
|
url = jsoncppURL;
|
||||||
|
@ -27,12 +27,14 @@ stdenv.mkDerivation {
|
||||||
--replace '${jsoncppURL}' ${jsoncpp}
|
--replace '${jsoncppURL}' ${jsoncpp}
|
||||||
substituteInPlace cmake/EthCompilerSettings.cmake \
|
substituteInPlace cmake/EthCompilerSettings.cmake \
|
||||||
--replace 'add_compile_options(-Werror)' ""
|
--replace 'add_compile_options(-Werror)' ""
|
||||||
substituteInPlace cmake/EthDependencies.cmake \
|
|
||||||
--replace 'set(Boost_USE_STATIC_LIBS ON)' \
|
|
||||||
'set(Boost_USE_STATIC_LIBS OFF)'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ boost cmake ];
|
cmakeFlags = [
|
||||||
|
"-DBoost_USE_STATIC_LIBS=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ boost z3 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Compiler for Ethereum smart contract language Solidity";
|
description = "Compiler for Ethereum smart contract language Solidity";
|
||||||
|
|
Loading…
Reference in New Issue