<commit_before>{ stdenv, fetchzip, ocaml, findlib, cstruct, zarith, ounit }:

assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";

let version = "0.1.2"; in

stdenv.mkDerivation {
  name = "ocaml-asn1-combinators-${version}";

  src = fetchzip {
    url = "https://github.com/mirleft/ocaml-asn1-combinators/archive/${version}.tar.gz";
    sha256 = "13vpdgcyph4vq3gcp8b16756s4nz3crpxhxfhcqgc1ffz61gc0h5";
  };

  buildInputs = [ ocaml findlib ounit ];
  propagatedBuildInputs = [ cstruct zarith ];

  createFindlibDestdir = true;

  configureFlags = "--enable-tests";
  doCheck = true;
  checkTarget = "test";

  meta = {
    homepage = https://github.com/mirleft/ocaml-asn1-combinators;
    description = "Combinators for expressing ASN.1 grammars in OCaml";
    platforms = ocaml.meta.platforms;
    license = stdenv.lib.licenses.bsd2;
    maintainers = with stdenv.lib.maintainers; [ vbgl ];
  };
}<commit_msg>ocaml.asn1-combinators: mark broken on i686<commit_after>{ stdenv, fetchzip, ocaml, findlib, cstruct, zarith, ounit }:

assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";

let version = "0.1.2"; in

stdenv.mkDerivation {
  name = "ocaml-asn1-combinators-${version}";

  src = fetchzip {
    url = "https://github.com/mirleft/ocaml-asn1-combinators/archive/${version}.tar.gz";
    sha256 = "13vpdgcyph4vq3gcp8b16756s4nz3crpxhxfhcqgc1ffz61gc0h5";
  };

  buildInputs = [ ocaml findlib ounit ];
  propagatedBuildInputs = [ cstruct zarith ];

  createFindlibDestdir = true;

  configureFlags = "--enable-tests";
  doCheck = true;
  checkTarget = "test";

  meta = {
    homepage = https://github.com/mirleft/ocaml-asn1-combinators;
    description = "Combinators for expressing ASN.1 grammars in OCaml";
    platforms = ocaml.meta.platforms;
    license = stdenv.lib.licenses.bsd2;
    maintainers = with stdenv.lib.maintainers; [ vbgl ];
    broken = stdenv.isi686; # https://github.com/mirleft/ocaml-asn1-combinators/issues/13
  };
}
{'fraction_non_alphanumeric': 0.1357214934409687, 'fraction_numerical': 0.03632694248234107, 'mean_word_length': 3.9575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '7148518', 'n_tokens_mistral': 812, 'n_tokens_neox': 769, 'n_words': 127}