<commit_before>{ stdenv, fetchurl, db62, xercesc, xqilla }:

stdenv.mkDerivation rec {
  name = "dbxml-${version}";
  version = "6.1.4";

  src = fetchurl {
    url = "http://download.oracle.com/berkeley-db/${name}.tar.gz";
    sha256 = "a8fc8f5e0c3b6e42741fa4dfc3b878c982ff8f5e5f14843f6a7e20d22e64251a";
  };

  patches = [
    ./cxx11.patch
    ./incorrect-optimization.patch
  ];

  buildInputs = [
    db62 xercesc xqilla
  ];
<commit_msg>dbxml: move db62 to propagatedBuildInputs. (#45878)<commit_after>{ stdenv, fetchurl, db62, xercesc, xqilla }:

stdenv.mkDerivation rec {
  name = "dbxml-${version}";
  version = "6.1.4";

  src = fetchurl {
    url = "http://download.oracle.com/berkeley-db/${name}.tar.gz";
    sha256 = "a8fc8f5e0c3b6e42741fa4dfc3b878c982ff8f5e5f14843f6a7e20d22e64251a";
  };

  patches = [
    ./cxx11.patch
    ./incorrect-optimization.patch
  ];

  buildInputs = [
    xercesc xqilla
  ];

  propagatedBuildInputs = [
    db62
  ];

{'fraction_non_alphanumeric': 0.14656964656964658, 'fraction_numerical': 0.11122661122661123, 'mean_word_length': 3.3772727272727274, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4813926', 'n_tokens_mistral': 477, 'n_tokens_neox': 428, 'n_words': 56}