<commit_before>{ stdenv, fetchurl, ncurses, libjpeg, e2fsprogs, zlib, openssl, libuuid, ntfs3g }:

stdenv.mkDerivation {
  name = "testdisk-6.14";

  src = fetchurl {
    url = http://www.cgsecurity.org/testdisk-6.14.tar.bz2;
    sha256 = "0v1jap83f5h99zv01v3qmqm160d36n4ysi0gyq7xzb3mqgmw75x5";
  };

  buildInputs = [ ncurses libjpeg e2fsprogs zlib openssl libuuid ntfs3g ];

  enableParallelBuilding = true;

  meta = {
    homepage = http://www.cgsecurity.org/wiki/TestDisk;
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.eelco ];
    longDescription = ''
      TestDisk is a program for data recovery, primarily designed to
      help recover lost partitions and/or make non-booting disks
      bootable again.
    '';
  };
}
<commit_msg>testdisk: darwin fixes<commit_after>{ stdenv, fetchurl, ncurses, libjpeg, e2fsprogs, zlib, openssl, libuuid, ntfs3g }:

stdenv.mkDerivation {
  name = "testdisk-6.14";

  src = fetchurl {
    url = http://www.cgsecurity.org/testdisk-6.14.tar.bz2;
    sha256 = "0v1jap83f5h99zv01v3qmqm160d36n4ysi0gyq7xzb3mqgmw75x5";
  };

  buildInputs = [ ncurses libjpeg zlib openssl libuuid ]
    ++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs ntfs3g ];

  enableParallelBuilding = true;

  meta = {
    homepage = http://www.cgsecurity.org/wiki/TestDisk;
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = stdenv.lib.platforms.all;
    maintainers = [ stdenv.lib.maintainers.eelco ];
    longDescription = ''
      TestDisk is a program for data recovery, primarily designed to
      help recover lost partitions and/or make non-booting disks
      bootable again.
    '';
  };
}

{'fraction_non_alphanumeric': 0.11052631578947368, 'fraction_numerical': 0.04327485380116959, 'mean_word_length': 3.490813648293963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5698377', 'n_tokens_mistral': 692, 'n_tokens_neox': 645, 'n_words': 122}