<commit_before>{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool, file }:

with stdenv.lib;

let
  version = "1.31";
in

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

  src = fetchurl {
    url = "http://download.geany.org/${name}.tar.bz2";
    sha256 = "30fdb906bb76c4251a8bcf83ee267db28c26ef6ab867668a782cec1164a3aba5";
  };

  NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;

  nativeBuildInputs = [ pkgconfig intltool ];
  buildInputs = [ gtk2 which file ];

  doCheck = true;

  enableParallelBuilding = true;

  patchPhase = "patchShebangs .";

  # This file should normally require a gtk-update-icon-cache -q /usr/share/icons/hicolor command
  # It have no reasons to exist in a redistribuable package<commit_msg>Update Geany 1.31 -> 1.32<commit_after>{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool, file }:

with stdenv.lib;

let
  version = "1.32";
in

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

  src = fetchurl {
    url = "http://download.geany.org/${name}.tar.bz2";
    sha256 = "8b7be10b95d0614eb07f845ba2280f7c026eacd5739d8fac4d5d26606f8c3c2d";
  };

  NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;

  nativeBuildInputs = [ pkgconfig intltool ];
  buildInputs = [ gtk2 which file ];

  doCheck = true;

  enableParallelBuilding = true;

  patchPhase = "patchShebangs .";

  # This file should normally require a gtk-update-icon-cache -q /usr/share/icons/hicolor command
  # It have no reasons to exist in a redistribuable package
{'fraction_non_alphanumeric': 0.11615487316421896, 'fraction_numerical': 0.06608811748998665, 'mean_word_length': 3.8986928104575163, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2755943', 'n_tokens_mistral': 632, 'n_tokens_neox': 566, 'n_words': 130}