<commit_before>{ stdenv, fetchurl, pkgconfig, wayland, mesa, libxkbcommon
, cairo, libxcb, libXcursor, x11, udev, libdrm, mtdev
, libjpeg, pam, autoconf, automake, libtool }:

let version = "1.3.1"; in

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

  src = fetchurl {
    url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
    sha256 = "1isvh66irrz707r69495767n5yxp07dvy0xx6mj1mbj1n4s1657p";
  };

  buildInputs = [
    pkgconfig wayland mesa libxkbcommon
    cairo libxcb libXcursor x11 udev libdrm mtdev libjpeg pam
  ];

  NIX_CFLAGS_COMPILE = "-I${libdrm}/include/libdrm";

  configureFlags = [
    "--disable-setuid-install" # prevent install target to chown root weston-launch, which fails
  ];<commit_msg>weston: fix build by updating (after wayland update)<commit_after>{ stdenv, fetchurl, pkgconfig, wayland, mesa, libxkbcommon
, cairo, libxcb, libXcursor, x11, udev, libdrm, mtdev
, libjpeg, pam, autoconf, automake, libtool, dbus }:

let version = "1.4.0"; in

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

  src = fetchurl {
    url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
    sha256 = "0r7dz72ys9p3f697ajgmihkar2da36bnjna6yanb3kg9k2fk38kl";
  };

  buildInputs = [
    pkgconfig wayland mesa libxkbcommon
    cairo libxcb libXcursor x11 udev libdrm mtdev libjpeg pam dbus.libs
  ];

  NIX_CFLAGS_COMPILE = "-I${libdrm}/include/libdrm";

  configureFlags = [
    "--disable-setuid-install" # prevent install target to chown root weston-launch, which fails
  ];
{'fraction_non_alphanumeric': 0.12115258677144729, 'fraction_numerical': 0.04191224623444663, 'mean_word_length': 4.25085910652921, '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': '821795', 'n_tokens_mistral': 639, 'n_tokens_neox': 579, 'n_words': 129}