<commit_before>{ stdenv, fetchurl, intltool, pkgconfig, libX11, gtk2, withGtk3 ? true, gtk3 }:

stdenv.mkDerivation rec {
  name = "lxappearance-0.6.3";

  src = fetchurl{
    url = "mirror://sourceforge/project/lxde/LXAppearance/${name}.tar.xz";
    sha256 = "0f4bjaamfxxdr9civvy55pa6vv9dx1hjs522gjbbgx7yp1cdh8kj";
  };

  nativeBuildInputs = [ pkgconfig intltool ];

  buildInputs = [ libX11 (if withGtk3 then gtk3 else gtk2) ];

  patches = [ ./lxappearance-0.6.3-xdg.system.data.dirs.patch ];

  configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";

  meta = {
    description = "A lightweight program for configuring the theme and fonts of gtk applications";
    homepage = "https://lxde.org/";
    maintainers = [ stdenv.lib.maintainers.hinton ];
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.gpl2;
  };<commit_msg>lxappearance: format with nixpkgs-fmt<commit_after>{ stdenv
, fetchurl
, intltool
, pkg-config
, libX11
, gtk2
, gtk3
, withGtk3 ? true
}:

stdenv.mkDerivation rec {
  name = "lxappearance-0.6.3";

  src = fetchurl {
    url = "mirror://sourceforge/project/lxde/LXAppearance/${name}.tar.xz";
    sha256 = "0f4bjaamfxxdr9civvy55pa6vv9dx1hjs522gjbbgx7yp1cdh8kj";
  };

  nativeBuildInputs = [
    pkg-config
    intltool
  ];

  buildInputs = [
    libX11
    (if withGtk3 then gtk3 else gtk2)
  ];

  patches = [
    ./lxappearance-0.6.3-xdg.system.data.dirs.patch
  ];

  configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";

  meta = with stdenv.lib; {
    description = "Lightweight program for configuring the theme and fonts of gtk applications";
    homepage = "https://lxde.org/";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ <NAME> ];
  };
{'fraction_non_alphanumeric': 0.12965050732807215, 'fraction_numerical': 0.040586245772266064, 'mean_word_length': 3.4823232323232323, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '6953310', 'n_tokens_mistral': 730, 'n_tokens_neox': 688, 'n_words': 124}