<commit_before>{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg }:

stdenv.mkDerivation rec {
	name = "ocaml${ocaml.version}-rresult-${version}";
	version = "0.6.0";
	src = fetchurl {
		url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
		sha256 = "1k69a3gvrk7f2cshwjzvk7818f0bwxhacgd14wxy6d4gmrggci86";
	};

	buildInputs = [ ocaml findlib ocamlbuild topkg ];

	inherit (topkg) buildPhase installPhase;

	meta = {
		license = stdenv.lib.licenses.isc;
		homepage = https://erratique.ch/software/rresult;
		description = "Result value combinators for OCaml";
		maintainers = [ stdenv.lib.maintainers.vbgl ];
		inherit (ocaml.meta) platforms;
	};
}<commit_msg>ocaml rresult: Add the `result` compatibility package as a build input<commit_after>{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:

stdenv.mkDerivation rec {
	name = "ocaml${ocaml.version}-rresult-${version}";
	version = "0.6.0";
	src = fetchurl {
		url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
		sha256 = "1k69a3gvrk7f2cshwjzvk7818f0bwxhacgd14wxy6d4gmrggci86";
	};

	buildInputs = [ ocaml findlib ocamlbuild topkg ];

  propagatedBuildInputs = [ result ];
  
	inherit (topkg) buildPhase installPhase;

	meta = {
		license = stdenv.lib.licenses.isc;
		homepage = https://erratique.ch/software/rresult;
		description = "Result value combinators for OCaml";
		maintainers = [ stdenv.lib.maintainers.vbgl ];
		inherit (ocaml.meta) platforms;
	};
}
{'fraction_non_alphanumeric': 0.13593539703903096, 'fraction_numerical': 0.03095558546433378, 'mean_word_length': 4.763565891472868, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '973160', 'n_tokens_mistral': 620, 'n_tokens_neox': 575, 'n_words': 101}