commit
61c1313bd1
@ -1,9 +1,9 @@
|
|||||||
{ stdenv, fetchzip, fetchgit, boost, cmake }:
|
{ stdenv, fetchzip, fetchgit, boost, cmake }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.4.12";
|
version = "0.4.13";
|
||||||
rev = "194ff033ae44944ac59aa7bd3da89ba94ec5893c";
|
rev = "0fb4cb1ab9bb4b6cc72e28cc5a1753ad14781f14";
|
||||||
sha256 = "0gkg3nay0625qmhxxxax1d1c4dl554ri3pkwd12qfg6g1w6j04w7";
|
sha256 = "0rhrm0bmk5s2358j40yx7dzr1938q17dchzflrxw6y7yvkhscxrm";
|
||||||
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,6 +27,9 @@ 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 ];
|
buildInputs = [ boost cmake ];
|
||||||
@ -36,6 +39,7 @@ stdenv.mkDerivation {
|
|||||||
longDescription = "This package also includes `lllc', the LLL compiler.";
|
longDescription = "This package also includes `lllc', the LLL compiler.";
|
||||||
homepage = https://github.com/ethereum/solidity;
|
homepage = https://github.com/ethereum/solidity;
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
maintainers = [ stdenv.lib.maintainers.dbrock ];
|
maintainers = [ stdenv.lib.maintainers.dbrock ];
|
||||||
inherit version;
|
inherit version;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user