Merge pull request #19697 from nexusdev/solc

Update Solidity compiler to latest version
This commit is contained in:
Tim Steinbach 2016-10-23 20:54:48 -04:00 committed by GitHub
commit ec6ed58dba

View file

@ -1,16 +1,20 @@
{ stdenv, fetchFromGitHub, boost, cmake, jsoncpp }:
stdenv.mkDerivation rec {
version = "0.3.6";
version = "0.4.2";
name = "solc-${version}";
src = fetchFromGitHub {
owner = "ethereum";
repo = "solidity";
rev = "v${version}";
sha256 = "1cynqwy8wr63l3l4wv9z6shhcy6lq0q8pbsh3nav0dg9qgj9sg57";
sha256 = "1d5x3psz8a9z9jnm30aspfvrpd9kblr14cn5vyl21p27x2vdlzr4";
};
patchPhase = ''
echo >commit_hash.txt af6afb0415761b53721f89c7f65064807f41cbd3
'';
buildInputs = [ boost cmake jsoncpp ];
meta = {