<commit_before>{ stdenv, fetchFromGitHub, boost, cmake, jsoncpp }:

stdenv.mkDerivation rec {
  version = "0.4.4";
  name = "solc-${version}";

  src = fetchFromGitHub {
    owner = "ethereum";
    repo = "solidity";
    rev = "v${version}";
    sha256 = "150prr7m0jnx3vhq0wy3avzsijxd3pn7c8jxdvf6jkcc408dgn6z";
  };

  patchPhase = ''
    echo >commit_hash.txt 4633f3def897db0f91237f98cf46e5d84fb05e61
  '';

  buildInputs = [ boost cmake jsoncpp ];

  meta = {
    description = "Compiler for Ethereum smart contract language Solidity";
    longDescription = "This package also includes `lllc', the LLL compiler.";<commit_msg>solc: 0.4.4 -> 0.4.6<commit_after>{ stdenv, fetchgit, boost, cmake, jsoncpp }:

stdenv.mkDerivation rec {
  version = "0.4.6";
  name = "solc-${version}";

  src = fetchgit {
    url = "https://github.com/ethereum/solidity";
    rev = "2dabbdf06f414750ef0425c664f861aeb3e470b8";
    sha256 = "0q1dvizx60f7l97w8241wra7vpghimc9x7gzb18vn34sxv4bqy9g";
  };

  patchPhase = ''
    echo >commit_hash.txt 2dabbdf06f414750ef0425c664f861aeb3e470b8
  '';

  buildInputs = [ boost cmake jsoncpp ];

  meta = {
    description = "Compiler for Ethereum smart contract language Solidity";
    longDescription = "This package also includes `lllc', the LLL compiler.";
{'fraction_non_alphanumeric': 0.12197028928850664, 'fraction_numerical': 0.09929632525410477, 'mean_word_length': 4.059288537549407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6877838', 'n_tokens_mistral': 568, 'n_tokens_neox': 501, 'n_words': 95}