<commit_before>{ fetchFromGitHub, fetchpatch, stdenv
, autoreconfHook, intltool, pkgconfig
, gtk3, xdotool, which, wrapGAppsHook }:

stdenv.mkDerivation rec {
  pname = "clipit";
  version = "1.4.4";

  src = fetchFromGitHub {
    owner = "shantzu";
    repo = "ClipIt";
    rev = "v${version}";
    sha256 = "05xi29v2y0rvb33fmvrz7r9j4l858qj7ngwd7dp4pzpkkaybjln0";
  };

  patches = [
   # gtk3 support, can be removed in the next release
   (fetchpatch {
     url = "https://github.com/CristianHenzel/ClipIt/commit/22e012c7d406436e1785b6dd3c4c138b25f68431.patch";
     sha256 = "0la4gc324dzxpx6nk2lqg5fmjgjpm2pyvzwddmfz1il8hqvrqg3j";
   })
  ];

  preConfigure = ''
    intltoolize --copy --force --automake
  '';

  nativeBuildInputs = [ pkgconfig wrapGAppsHook autoreconfHook intltool ];
  configureFlags = [ "--with-gtk3" ];
  buildInputs = [ gtk3 ];

  gappsWrapperArgs = [
    "--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ xdotool which ]}"
  ];

  meta = with stdenv.lib; {
    description = "Lightweight GTK Clipboard Manager";
    inherit (src.meta) homepage;
    license     = licenses.gpl3;
    platforms   = platforms.linux;
  };<commit_msg>clipit: 1.4.4 -> 1.4.5<commit_after>{ fetchFromGitHub, fetchpatch, stdenv
, autoreconfHook, intltool, pkgconfig
, gtk3, xdotool, which, wrapGAppsHook }:

stdenv.mkDerivation rec {
  pname = "clipit";
  version = "1.4.5";

  src = fetchFromGitHub {
    owner = "CristianHenzel";
    repo = "ClipIt";
    rev = "45e2ea386d04dbfc411ea370299502450d589d0c";
    sha256 = "0byqz9hanwmdc7i55xszdby2iqrk93lws7hmjda2kv17g34apwl7";
  };

  preConfigure = ''
    intltoolize --copy --force --automake
  '';

  nativeBuildInputs = [ pkgconfig wrapGAppsHook autoreconfHook intltool ];
  configureFlags = [ "--with-gtk3" ];
  buildInputs = [ gtk3 ];

  gappsWrapperArgs = [
    "--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ xdotool which ]}"
  ];

  meta = with stdenv.lib; {
    description = "Lightweight GTK Clipboard Manager";
    inherit (src.meta) homepage;
    license     = licenses.gpl3;
    platforms   = platforms.linux;
    maintainers = with maintainers; [ kamilchm ];
  };
{'fraction_non_alphanumeric': 0.1303328645100797, 'fraction_numerical': 0.061415846225972806, 'mean_word_length': 3.569593147751606, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '2481338', 'n_tokens_mistral': 909, 'n_tokens_neox': 836, 'n_words': 145}