Merge pull request #19697 from nexusdev/solc
Update Solidity compiler to latest version
This commit is contained in:
commit
ec6ed58dba
1 changed files with 6 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue