<commit_before>{ stdenv, fetchurl, libX11, ncurses}:

stdenv.mkDerivation rec {
  name = "st-0.2.1";
  
  src = fetchurl {
    url = http://hg.suckless.org/st/archive/0.2.1.tar.gz;
    sha256 = "15yqyys69ifjc4vrzvamrg7x0pwa60mnjpi0kap4y9ykhds83xab";
  };
  
  buildInputs = [ libX11 ncurses ];

  installPhase = ''
    TERMINFO=$out/share/terminfo make install PREFIX=$out
  '';
    
  meta = {
    homepage = http://st.suckless.org/;<commit_msg>st: update to 0.3<commit_after>{ stdenv, fetchurl, libX11, ncurses, libXext, libXft }:

stdenv.mkDerivation rec {
  name = "st-0.3";
  
  src = fetchurl {
    url = http://hg.suckless.org/st/archive/0.3.tar.gz;
    sha256 = "12ypldjjpsq3nvhszgjsk4wgqkwcvz06qiqw8k5npv3rd1nbx9cl";
  };
  
  buildInputs = [ libX11 ncurses libXext libXft ];

  installPhase = ''
    TERMINFO=$out/share/terminfo make install PREFIX=$out
  '';
    
  meta = {
    homepage = http://st.suckless.org/;
{'fraction_non_alphanumeric': 0.14486486486486486, 'fraction_numerical': 0.055135135135135134, 'mean_word_length': 3.209090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '959060', 'n_tokens_mistral': 432, 'n_tokens_neox': 406, 'n_words': 58}