Merge pull request #20915 from nexusdev/solc

solc: 0.4.4 -> 0.4.6
This commit is contained in:
Frederik Rietdijk 2016-12-09 22:42:06 +01:00 committed by GitHub
commit c25fc0f173

View File

@ -1,18 +1,18 @@
{ stdenv, fetchFromGitHub, boost, cmake, jsoncpp }: { stdenv, fetchgit, boost, cmake, jsoncpp }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.4.4"; version = "0.4.6";
name = "solc-${version}"; name = "solc-${version}";
src = fetchFromGitHub { # Cannot use `fetchFromGitHub' because of submodules
owner = "ethereum"; src = fetchgit {
repo = "solidity"; url = "https://github.com/ethereum/solidity";
rev = "v${version}"; rev = "2dabbdf06f414750ef0425c664f861aeb3e470b8";
sha256 = "150prr7m0jnx3vhq0wy3avzsijxd3pn7c8jxdvf6jkcc408dgn6z"; sha256 = "0q1dvizx60f7l97w8241wra7vpghimc9x7gzb18vn34sxv4bqy9g";
}; };
patchPhase = '' patchPhase = ''
echo >commit_hash.txt 4633f3def897db0f91237f98cf46e5d84fb05e61 echo >commit_hash.txt 2dabbdf06f414750ef0425c664f861aeb3e470b8
''; '';
buildInputs = [ boost cmake jsoncpp ]; buildInputs = [ boost cmake jsoncpp ];