git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19697 from nexusdev/solc

Update Solidity compiler to latest version

commitec6ed58dba6b72e9420ac325e5edd39fa44b903e authorTim Steinbach <NeQuissimus@users.noreply.github.com> dateSun 23 Oct 2016, 20:54 (10 years ago) parentf188dc0afa3a20
1 file changed+6−2
pkgs/development/compilers/solc/default.nix+6−2
pkgs/development/compilers/solc/default.nix+6−2
@@ -1,16 +1,20 @@
11{ stdenv, fetchFromGitHub, boost, cmake, jsoncpp }:
22
33stdenv.mkDerivation rec {
4− version = "0.3.6";
4+ version = "0.4.2";
55 name = "solc-${version}";
66
77 src = fetchFromGitHub {
88 owner = "ethereum";
99 repo = "solidity";
1010 rev = "v${version}";
11− sha256 = "1cynqwy8wr63l3l4wv9z6shhcy6lq0q8pbsh3nav0dg9qgj9sg57";
11+ sha256 = "1d5x3psz8a9z9jnm30aspfvrpd9kblr14cn5vyl21p27x2vdlzr4";
1212 };
1313
14+ patchPhase = ''
15+ echo >commit_hash.txt af6afb0415761b53721f89c7f65064807f41cbd3
16+ '';
17+
1418 buildInputs = [ boost cmake jsoncpp ];
1519
1620 meta = {