<commit_before>{ stdenv, fetchFromGitHub, cmake, lua, pkgconfig, rsync,
  asciidoc, libxml2, docbook_xml_dtd_45, docbook_xml_xslt, libxslt }:

stdenv.mkDerivation rec {
  name = "lsyncd-${version}";
  version = "2.1.6";

  src = fetchFromGitHub {
    owner = "axkibe";
    repo = "lsyncd";
    rev = "release-${version}";
    sha256 = "1cab96h4qfyapk7lb682j1d8k0hpv7h9pl41vdgc0vr4bq4c3ij2";
  };

  patchPhase = ''
    substituteInPlace default-rsync.lua \
      --replace "/usr/bin/rsync" "${rsync}/bin/rsync"
  '';

  dontUseCmakeBuildDir = true;<commit_msg>lsyncd: 2.1.6 -> 2.2.2<commit_after>{ stdenv, fetchFromGitHub, cmake, lua, pkgconfig, rsync,
  asciidoc, libxml2, docbook_xml_dtd_45, docbook_xml_xslt, libxslt }:

stdenv.mkDerivation rec {
  name = "lsyncd-${version}";
  version = "2.2.2";

  src = fetchFromGitHub {
    owner = "axkibe";
    repo = "lsyncd";
    rev = "release-${version}";
    sha256 = "1q2ixp52r96ckghgmxdbms6xrq8dbziimp8gmgzqfq4lk1v1w80y";
  };

  patchPhase = ''
    substituteInPlace default-rsync.lua \
      --replace "/usr/bin/rsync" "${rsync}/bin/rsync"
  '';

  dontUseCmakeBuildDir = true;
{'fraction_non_alphanumeric': 0.14968999114260406, 'fraction_numerical': 0.05137289636846767, 'mean_word_length': 3.8497854077253217, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4259102', 'n_tokens_mistral': 521, 'n_tokens_neox': 486, 'n_words': 73}