<commit_before>{ lib, stdenv, fetchurl, libxcb, xcbutil, xcbutilwm, git }:

stdenv.mkDerivation rec {
   pname = "xtitle";
   version = "0.4.4";

   src = fetchurl {
     url = "https://github.com/baskerville/xtitle/archive/${version}.tar.gz";
     sha256 = "0w490a6ki90si1ri48jzhma473a598l1b12j8dp4ckici41z9yy2";
   };


   buildInputs = [ libxcb git xcbutil xcbutilwm ];

   prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';

   meta = {
     description = "Outputs X window titles";
     homepage = "https://github.com/baskerville/xtitle";
     maintainers = [ lib.maintainers.meisternu ];
     license = "Custom";
     platforms = lib.platforms.linux;
   };
}<commit_msg>xtitle: switch to fetchFromGitHub<commit_after>{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm, git }:

stdenv.mkDerivation rec {
  pname = "xtitle";
  version = "0.4.4";

  src = fetchFromGitHub {
    owner = "baskerville";
    repo = "xtitle";
    rev = version;
    hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg=";
  };

  buildInputs = [ libxcb git xcbutil xcbutilwm ];

  prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';

  meta = {
    description = "Outputs X window titles";
    homepage = "https://github.com/baskerville/xtitle";
    maintainers = [ lib.maintainers.meisternu ];
    license = "Custom";
    platforms = lib.platforms.linux;
  };
}
{'fraction_non_alphanumeric': 0.14548126377663484, 'fraction_numerical': 0.03306392358559882, 'mean_word_length': 3.450980392156863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '5696700', 'n_tokens_mistral': 561, 'n_tokens_neox': 536, 'n_words': 95}