<commit_before>{ stdenv, fetchFromGitHub, ocaml, libelf }:

stdenv.mkDerivation rec {
  version = "0.13.1";
  name = "flow-${version}";
  src = fetchFromGitHub {
    owner = "facebook";
    repo = "flow";
    rev = "v${version}";
    sha256 = "1p7rzhvmz9y7ii2z05mfdb49i45f82kx8c9ywciwqma06zycvd80";
  };

  installPhase = ''
    mkdir -p $out/bin
    cp bin/flow $out/bin/
  '';

  buildInputs = [ ocaml libelf ];

  meta = with stdenv.lib; {
    homepage = "http://flowtype.org/";
    description = "A static type checker for JavaScript";
    license = stdenv.lib.licenses.bsd3;
    platforms = stdenv.lib.platforms.unix;
    maintainers = with maintainers; [ puffnfresh ];
  };<commit_msg>flow: 0.13.1 -> 0.14.0, fixes #9321<commit_after>{ stdenv, fetchFromGitHub, ocaml, libelf }:

stdenv.mkDerivation rec {
  version = "0.14.0";
  name = "flow-${version}";
  src = fetchFromGitHub {
    owner = "facebook";
    repo = "flow";
    rev = "v${version}";
    sha256 = "02adbn2h5bfc4drcpbalq7acx573a657ik3008fr8s9qyqdp2nl6";
  };

  installPhase = ''
    mkdir -p $out/bin
    cp bin/flow $out/bin/
  '';

  buildInputs = [ ocaml libelf ];

  meta = with stdenv.lib; {
    homepage = "http://flowtype.org/";
    description = "A static type checker for JavaScript";
    license = stdenv.lib.licenses.bsd3;
    platforms = stdenv.lib.platforms.unix;
    maintainers = with maintainers; [ puffnfresh ];
  };
{'fraction_non_alphanumeric': 0.14743589743589744, 'fraction_numerical': 0.04772079772079772, 'mean_word_length': 3.169139465875371, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '1881071', 'n_tokens_mistral': 590, 'n_tokens_neox': 552, 'n_words': 106}