<commit_before>{ stdenv
, fetchurl
}:

stdenv.mkDerivation rec {
  name = "xz-5.2.2";

  src = fetchurl {
    url = "http://tukaani.org/xz/${name}.tar.bz2";
    sha256 = "1da071wyx921pyx3zkxlnbpp14p6km98pnp66mg1arwi9dxgbxbg";
  };

  # In stdenv-linux, prevent a dependency on bootstrap-tools.
  preConfigure = ''
    unset CONFIG_SHELL
  '';

  postInstall = ''
    rm -rf $out/share/doc
  '';

  dontDisableStatic = true;

  meta = with stdenv.lib; {
    homepage = http://tukaani.org/xz/;
    description = "XZ, general-purpose data compression software, successor of LZMA";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [
      wkennington
    ];
    platforms = with platforms;
      i686-linux<commit_msg>xz: Host sources on ipfs<commit_after>{ stdenv
, fetchurl
}:

stdenv.mkDerivation rec {
  name = "xz-5.2.2";

  src = fetchurl {
    url = "http://tukaani.org/xz/${name}.tar.xz";
    multihash = "QmR7egaexND8eJXdMCzzxf4FK7u9ya3V777ZCA1LuCvWhK";
    sha256 = "f341b1906ebcdde291dd619399ae944600edc9193619dd0c0110a5f05bfcc89e";
  };

  # In stdenv-linux, prevent a dependency on bootstrap-tools.
  preConfigure = ''
    unset CONFIG_SHELL
  '';

  postInstall = ''
    rm -rf $out/share/doc
  '';

  dontDisableStatic = true;

  meta = with stdenv.lib; {
    homepage = http://tukaani.org/xz/;
    description = "XZ, general-purpose data compression software, successor of LZMA";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [
      wkennington
    ];
    platforms = with platforms;
      i686-linux
{'fraction_non_alphanumeric': 0.12146529562982006, 'fraction_numerical': 0.055912596401028275, 'mean_word_length': 3.140957446808511, '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': '6515278', 'n_tokens_mistral': 648, 'n_tokens_neox': 595, 'n_words': 111}