<commit_before>{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake,
  python, boost, fuse, libtorrentRasterbar, curl }:

stdenv.mkDerivation rec {
  name = "btfs-${version}";
  version = "2.7";

  src = fetchFromGitHub {
    owner = "johang";
    repo = "btfs";
    rev = "e816b4718bd5c9d88a99805d19d2ad91971b2338";
    sha256 = "1mac2dwg0pzpmg0x503a8d8gx3ridi4m1qx4jk6ssvl4g9v6p7fl";
  };
  
  buildInputs = [
    pkgconfig autoconf automake boost
    fuse libtorrentRasterbar curl
  ];

  preConfigure = ''
    autoreconf -i
    substituteInPlace scripts/btplay \
      --replace /usr/bin/python ${python}/bin/python
  '';

  meta = with stdenv.lib; {
    description = "A bittorrent filesystem based on FUSE";
    homepage    = "https://github.com/johang/btfs";
    license     = licenses.gpl3;
    maintainers = with maintainers; [ rnhmjoj ];
    platforms   = platforms.linux;
  };
}
<commit_msg>btfs: 2.7 -> 2.8<commit_after>{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake,
  python, boost, fuse, libtorrentRasterbar, curl }:

stdenv.mkDerivation rec {
  name = "btfs-${version}";
  version = "2.8";

  src = fetchFromGitHub {
    owner = "johang";
    repo = "btfs";
    rev = "0567010e553b290eaa50b1afaa717dd7656c82de";
    sha256 = "1x3x1v7fhcfcpffprf63sb720nxci2ap2cq92jy1xd68kmshdmwd";
  };
  
  buildInputs = [
    pkgconfig autoconf automake boost
    fuse libtorrentRasterbar curl
  ];

  preConfigure = ''
    autoreconf -i
    substituteInPlace scripts/btplay \
      --replace "/usr/bin/env python" "${python}/bin/python"
  '';

  meta = with stdenv.lib; {
    description = "A bittorrent filesystem based on FUSE";
    homepage    = "https://github.com/johang/btfs";
    license     = licenses.gpl3;
    maintainers = with maintainers; [ rnhmjoj ];
    platforms   = platforms.linux;
  };
}

{'fraction_non_alphanumeric': 0.12013165112452003, 'fraction_numerical': 0.05650027427317608, 'mean_word_length': 3.2816901408450705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '4809740', 'n_tokens_mistral': 760, 'n_tokens_neox': 707, 'n_words': 129}