<commit_before>{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2, fetchpatch }:

stdenv.mkDerivation rec {
  pname = "gpicview";
  version = "0.2.4";

  src = fetchurl {
    url = "mirror://sourceforge/lxde/gpicview-${version}.tar.gz";
    sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr";
  };

  patches = [
    (fetchpatch {
      url = "https://raw.githubusercontent.com/nonas/debian-clang/master/buildlogs/gpicview/gpicview-0.2.4/debian/patches/clang_FTBFS_Wreturn-type.patch";
      sha256 = "02dm966bplnv10knpdx7rlpjipk884156ggd9ij05zhza0jl8xcs";
    })
  ];

  meta = with lib; {
    description = "A simple and fast image viewer for X";
    homepage = "http://lxde.sourceforge.net/gpicview/";
    repositories.git = "git://lxde.git.sourceforge.net/gitroot/lxde/gpicview";
    license = licenses.gpl2;
    maintainers = with maintainers; [ lovek323 ];
    platforms = platforms.unix;
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ intltool gtk2 ];
}
<commit_msg>gpicview: order attributes better<commit_after>{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2, fetchpatch }:

stdenv.mkDerivation rec {
  pname = "gpicview";
  version = "0.2.4";

  src = fetchurl {
    url = "mirror://sourceforge/lxde/gpicview-${version}.tar.gz";
    sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr";
  };

  patches = [
    (fetchpatch {
      url = "https://raw.githubusercontent.com/nonas/debian-clang/master/buildlogs/gpicview/gpicview-0.2.4/debian/patches/clang_FTBFS_Wreturn-type.patch";
      sha256 = "02dm966bplnv10knpdx7rlpjipk884156ggd9ij05zhza0jl8xcs";
    })
  ];

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ intltool gtk2 ];

  meta = with lib; {
    description = "A simple and fast image viewer for X";
    homepage = "http://lxde.sourceforge.net/gpicview/";
    repositories.git = "git://lxde.git.sourceforge.net/gitroot/lxde/gpicview";
    license = licenses.gpl2;
    maintainers = with maintainers; [ lovek323 ];
    platforms = platforms.unix;
  };
}

{'fraction_non_alphanumeric': 0.13777777777777778, 'fraction_numerical': 0.05234567901234568, 'mean_word_length': 3.678983833718245, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5099795', 'n_tokens_mistral': 872, 'n_tokens_neox': 806, 'n_words': 113}