<commit_before>{ stdenv, fetchFromGitHub, fetchpatch, cmake, python, xxd }:

stdenv.mkDerivation rec {
  name = "cryptominisat-${version}";
  version = "5.0.1";

  src = fetchFromGitHub {
    owner  = "msoos";
    repo   = "cryptominisat";
    rev    = version;
    sha256 = "0cpw5d9vplxvv3aaplhnga55gz1hy29p7s4pkw1306knkbhlzvkb";
  };

  buildInputs = [ python xxd ];
  nativeBuildInputs = [ cmake ];

  patches = [(fetchpatch rec {
    name = "fix-exported-library-name.patch";
    url = "https://github.com/msoos/cryptominisat/commit/7a47795cbe5ad5a899731102d297f234bcade077.patch";
    sha256 = "11hf3cfqs4cykn7rlgjglq29lzqfxvlm0f20qasi0kdrz01cr30f";
  })];

  meta = with stdenv.lib; {
    description = "An advanced SAT Solver";
    homepage    = https://github.com/msoos/cryptominisat;
    license     = licenses.mit;
    maintainers = with maintainers; [ mic92 ];
    platforms   = platforms.unix;<commit_msg>cryptominisat: 5.0.1 -> 5.6.6<commit_after>{ stdenv, fetchFromGitHub, fetchpatch, cmake, python, xxd, boost }:

stdenv.mkDerivation rec {
  name = "cryptominisat-${version}";
  version = "5.6.6";

  src = fetchFromGitHub {
    owner  = "msoos";
    repo   = "cryptominisat";
    rev    = version;
    sha256 = "1a1494gj4j73yij0hjbzsn2hglk9zy5c5wfwgig3j67cis28saf5";
  };

  buildInputs = [ python boost ];
  nativeBuildInputs = [ cmake xxd ];

  meta = with stdenv.lib; {
    description = "An advanced SAT Solver";
    homepage    = https://github.com/msoos/cryptominisat;
    license     = licenses.mit;
    maintainers = with maintainers; [ mic92 ];
    platforms   = platforms.unix;
{'fraction_non_alphanumeric': 0.12538989394884592, 'fraction_numerical': 0.06238303181534623, 'mean_word_length': 3.467966573816156, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 3, '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': '4150784', 'n_tokens_mistral': 688, 'n_tokens_neox': 628, 'n_words': 104}