@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, boost, cmake, jsoncpp }:
2+
3+stdenv.mkDerivation rec {
4+ version = "0.3.6";
5+ name = "solc-${version}";
6+
7+ src = fetchFromGitHub {
8+ owner = "ethereum";
9+ repo = "solidity";
10+ rev = "v${version}";
11+ sha256 = "1cynqwy8wr63l3l4wv9z6shhcy6lq0q8pbsh3nav0dg9qgj9sg57";
12+ };
13+
14+ buildInputs = [ boost cmake jsoncpp ];
15+
16+ meta = {
17+ description = "Compiler for Ethereum smart contract language Solidity";
18+ longDescription = "This package also includes `lllc', the LLL compiler.";
19+ homepage = https://github.com/ethereum/solidity;
20+ license = stdenv.lib.licenses.gpl3;
21+ maintainers = [ stdenv.lib.maintainers.dbrock ];
22+ inherit version;
23+ };
24+}