<commit_before>{ stdenv, fetchurl, libX11, libXxf86vm, libXext }:

stdenv.mkDerivation rec {
  name = "xcalib-0.8";

  src = fetchurl {
    url = "mirror://sourceforge/xcalib/xcalib-source-0.8.tar.gz";
    sha256 = "8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6";
  };

  buildInputs = [ libX11 libXxf86vm libXext ];

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

  meta = with stdenv.lib; {
    homepage = http://xcalib.sourceforge.net/;
    description = "A tiny monitor calibration loader for X and MS-Windows";
    license = licenses.gpl2;
    maintainers = [ maintainers.rickynils ];
    platforms = platforms.linux;
  };
}<commit_msg>xcalib: 0.8 -> 0.10<commit_after>{ stdenv, fetchFromGitHub, libX11, libXxf86vm, libXext, libXrandr }:

stdenv.mkDerivation rec {
  name = "xcalib-0.10";

  src = fetchFromGitHub {
    owner = "OpenICC";
    repo = "xcalib";
    rev = "f95abc1a551d7c695a8b142c4d9d5035368d482d";
    sha256 = "05fzdjmhiafgi2jf0k41i3nm0837a78sb6yv59cwc23nla8g0bhr";
  };

  buildInputs = [ libX11 libXxf86vm libXext libXrandr ];

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

  meta = with stdenv.lib; {
    inherit (src.meta) homepage;
    description = "A tiny monitor calibration loader for X and MS-Windows";
    license = licenses.gpl2;
    maintainers = [ maintainers.rickynils ];
    platforms = platforms.linux;
  };
}
{'fraction_non_alphanumeric': 0.12253521126760564, 'fraction_numerical': 0.08873239436619719, 'mean_word_length': 3.440625, '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': '952249', 'n_tokens_mistral': 646, 'n_tokens_neox': 571, 'n_words': 105}