<commit_before>{ stdenv
, bison
, fetchurl
, lib
, util-macros

, libx11
, libxkbfile
, xorg
, xorgproto
}:

stdenv.mkDerivation rec {
  name = "xkbcomp-1.4.1";

  src = fetchurl {
    url = "mirror://xorg/individual/app/${name}.tar.bz2";
    sha256 = "748dc4cf58ac95684106bd9cf163ac6ab7de9a236faec02a6f4d4006d63a5736";
  };

  nativeBuildInputs = [
    bison
    util-macros
  ];

  buildInputs = [
    libx11
    libxkbfile
    xorgproto
  ];

  configureFlags = [
    "--with-xkb-config-root=${xorg.xkeyboardconfig}/share/X11/xkb"
  ];

  passthru = {
    srcVerification = fetchurl {
      inherit (src)
        outputHash
        outputHashAlgo
        urls;
      pgpsigUrls = map (n: "${n}.sig") src.urls;<commit_msg>xkbcomp: update xorg references<commit_after>{ stdenv
, bison
, fetchurl
, lib
, util-macros

, libx11
, libxkbfile
, xkeyboard-config
, xorgproto
}:

stdenv.mkDerivation rec {
  name = "xkbcomp-1.4.1";

  src = fetchurl {
    url = "mirror://xorg/individual/app/${name}.tar.bz2";
    sha256 = "748dc4cf58ac95684106bd9cf163ac6ab7de9a236faec02a6f4d4006d63a5736";
  };

  nativeBuildInputs = [
    bison
    util-macros
  ];

  buildInputs = [
    libx11
    libxkbfile
    xorgproto
  ];

  configureFlags = [
    "--with-xkb-config-root=${xkeyboard-config}/share/X11/xkb"
  ];

  passthru = {
    srcVerification = fetchurl {
      inherit (src)
        outputHash
        outputHashAlgo
        urls;
      pgpsigUrls = map (n: "${n}.sig") src.urls;
{'fraction_non_alphanumeric': 0.12890094979647218, 'fraction_numerical': 0.06919945725915876, 'mean_word_length': 2.753180661577608, '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': '3205405', 'n_tokens_mistral': 659, 'n_tokens_neox': 603, 'n_words': 86}