<commit_before>{ stdenv
, fetchFromGitLab
, fetchurl
, lib

, python
}:

let
  autooptions = stdenv.mkDerivation rec {
    name = "waf-autooptions-2018-10-06";

    src = fetchFromGitLab {
      version = 6;
      owner = "karllinden";
      repo = "waf-autooptions";
      rev = "cc16822604501c96af265a2e3c51855d2aed635f";
      sha256 = "69702af83555ce127765752bb55acfa0412ff436d18569900349d60e10f3e569";
    };

    installPhase = ''
      mkdir -v $out
      cp -v __init__.py $out/autooptions.py
    '';

    meta = with lib; {
      license = licenses.bsd2;
    };
  };

  autowaf = fetchurl {
    # r101
    # This is not a persistent URL since it is the SVN repo, so we rely on
    # using the multihash.
    url = "http://svn.drobilla.net/autowaf/autowaf.py";
    multihash = "Qmbztdz9ry33VWVtgzASTbXDwcwxKtmFBZ1y5nsHA1rE97";
    sha256 = "6cecb0c26bcbe046f8ef4742ae46834518dabff59dfab68dd2ae1f9704b193bd";
  };

  lv2 = fetchurl {
    # r101
    # See autowaf note.
    url = "http://svn.drobilla.net/autowaf/lv2.py";
    multihash = "QmSkRjCoADgQ5EDDPrQVDWYfMZCkx9rsYMiHHoE6mYsDfU";
    sha256 = "12ce4d81d9bf32283324c26db40c4ab459b61bc24891969708ec0eeaf96f902d";
  };
in
stdenv.mkDerivation rec {
  name = "waf-2.0.14";

  src = fetchurl {
    url = "https://waf.io/${name}.tar.bz2";
    multihash = "Qmazf5F7byK6qQA8HDoEcfyNEEKwP7PJzzkNiJUdtnSb6C";
    hashOutput = false;
    sha256 = "c74055d7452540ad66c12d955c09f62a9fde0e23b0ab3c43984dc879b4bb51f4";<commit_msg>waf: 2.0.14 -> 2.0.15<commit_after>{ stdenv
, fetchFromGitLab
, fetchurl
, lib

, python
}:

let
  autooptions = stdenv.mkDerivation rec {
    name = "waf-autooptions-2018-10-06";

    src = fetchFromGitLab {
      version = 6;
      owner = "karllinden";
      repo = "waf-autooptions";
      rev = "cc16822604501c96af265a2e3c51855d2aed635f";
      sha256 = "69702af83555ce127765752bb55acfa0412ff436d18569900349d60e10f3e569";
    };

    installPhase = ''
      mkdir -v $out
      cp -v __init__.py $out/autooptions.py
    '';

    meta = with lib; {
      license = licenses.bsd2;
    };
  };

  autowaf = fetchurl {
    # r101
    # This is not a persistent URL since it is the SVN repo, so we rely on
    # using the multihash.
    url = "http://svn.drobilla.net/autowaf/autowaf.py";
    multihash = "Qmbztdz9ry33VWVtgzASTbXDwcwxKtmFBZ1y5nsHA1rE97";
    sha256 = "6cecb0c26bcbe046f8ef4742ae46834518dabff59dfab68dd2ae1f9704b193bd";
  };

  lv2 = fetchurl {
    # r101
    # See autowaf note.
    url = "http://svn.drobilla.net/autowaf/lv2.py";
    multihash = "QmSkRjCoADgQ5EDDPrQVDWYfMZCkx9rsYMiHHoE6mYsDfU";
    sha256 = "12ce4d81d9bf32283324c26db40c4ab459b61bc24891969708ec0eeaf96f902d";
  };
in
stdenv.mkDerivation rec {
  name = "waf-2.0.15";

  src = fetchurl {
    url = "https://waf.io/${name}.tar.bz2";
    multihash = "QmV1Dmic3Tt93LNUSY3yvvp3ms4BsJpDXY5svcJx4E7uhA";
    hashOutput = false;
    sha256 = "1e29fe37f8c589edc6929f9d8fcc1cc97523a1eb09d98776ab39e18def4dc723";
{'fraction_non_alphanumeric': 0.10897435897435898, 'fraction_numerical': 0.16531713900134953, 'mean_word_length': 3.3284671532846715, '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': '2246069', 'n_tokens_mistral': 1620, 'n_tokens_neox': 1344, 'n_words': 185}