<commit_before>{stdenv, fetchsvn, libjpeg, libpng, flex, zlib, perl, libxml2 }:

stdenv.mkDerivation {
  name = "netpbm-advanced-844";

  src = fetchsvn {
    url = https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced;
    rev = 844;
  };

  buildInputs = [ flex zlib perl libpng libjpeg libxml2 ];

  configurePhase = "cp config.mk.in config.mk";<commit_msg>Fixing netpbm for x86_64 (and adding a hash for fetchsvn)<commit_after>{stdenv, fetchsvn, libjpeg, libpng, flex, zlib, perl, libxml2 }:

stdenv.mkDerivation {
  name = "netpbm-advanced-844";

  src = fetchsvn {
    url = https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced;
    rev = 844;
    sha256 = "8729e63bb5cc9fd500a68d5aed91fa4b973ebc068e3014b47390ba7b4d85968e";
  };

  NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";

  buildInputs = [ flex zlib perl libpng libjpeg libxml2 ];

  configurePhase = "cp config.mk.in config.mk";
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.07051282051282051, 'mean_word_length': 4.120218579234972, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '6800433', 'n_tokens_mistral': 429, 'n_tokens_neox': 381, 'n_words': 73}