<commit_before>{ stdenv, fetchurl, libX11, xproto, imake, gccmakedep, libXt, libXmu
, libXaw, libXext, xextproto, libSM, libICE, libXpm, libXp
}:

stdenv.mkDerivation rec {
  name = "vncrec-0.2"; # version taken from Arch AUR

  src = fetchurl {
    url = "http://ronja.twibright.com/utils/vncrec-twibright.tgz";
    sha256 = "1yp6r55fqpdhc8cgrgh9i0mzxmkls16pgf8vfcpng1axr7cigyhc";
  };

  hardeningDisable = [ "format" ];

  buildInputs = [
    libX11 xproto imake gccmakedep libXt libXmu libXaw
    libXext xextproto libSM libICE libXpm libXp
  ];

  buildPhase = ''xmkmf && make World'';

  installPhase = ''
    make DESTDIR=$out BINDIR=/bin MANDIR=/share/man/man1 install install.man
  '';

  meta = {
    description = "VNC recorder";
    homepage = http://ronja.twibright.com/utils/vncrec/;
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.gpl2;
  };
}<commit_msg>vncrec: use imake setup hook<commit_after>{ stdenv, fetchurl, libX11, xproto, imake, gccmakedep, libXt, libXmu
, libXaw, libXext, xextproto, libSM, libICE, libXpm, libXp
}:

stdenv.mkDerivation rec {
  name = "vncrec-0.2"; # version taken from Arch AUR

  src = fetchurl {
    url = "http://ronja.twibright.com/utils/vncrec-twibright.tgz";
    sha256 = "1yp6r55fqpdhc8cgrgh9i0mzxmkls16pgf8vfcpng1axr7cigyhc";
  };

  hardeningDisable = [ "format" ];

  nativeBuildInputs = [ imake gccmakedep ];
  buildInputs = [
    libX11 xproto libXt libXmu libXaw
    libXext xextproto libSM libICE libXpm libXp
  ];

  makeFlags = [
    "BINDIR=${placeholder "out"}/bin"
    "MANDIR=${placeholder "out"}/share/man"
  ];
  installTargets = "install install.man";

  meta = {
    description = "VNC recorder";
    homepage = http://ronja.twibright.com/utils/vncrec/;
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.gpl2;
  };
}
{'fraction_non_alphanumeric': 0.12696690179055886, 'fraction_numerical': 0.024416711882799782, 'mean_word_length': 3.7403598971722367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1194268', 'n_tokens_mistral': 781, 'n_tokens_neox': 743, 'n_words': 138}