<commit_before>{ stdenv
, buildPythonPackage
, fetchurl
}:

let
  version = "3.0.0";
in
buildPythonPackage rec {
  name = "scons-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/scons/scons/${version}/${name}.tar.gz";
    sha256 = "0f532f405b98c60b731d231b3c503ab5bf47d89a6f66f70cb62c9249e9f45216";
  };

  # Fix for python2 compatability
  postPatch = ''
    grep -q 'from __future__ import print_function' \
      engine/SCons/Script/SConscript.py
    sed -i '/from __future__ import print_function/d' \
      engine/SCons/Script/SConscript.py
  '';

  setupHook = ./setup-hook.sh;

  meta = with stdenv.lib; {
    homepage = "http://scons.org/";
    description = "An improved, cross-platform substitute for Make";
    license = licenses.mit;
    maintainers = with maintainers; [
      wkennington
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}<commit_msg>scons: 3.0.0 -> 3.0.1<commit_after>{ stdenv
, buildPythonPackage
, fetchurl
, lib
}:

let
  version = "3.0.1";
in
buildPythonPackage rec {
  name = "scons-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/scons/scons/${version}/${name}.tar.gz";
    sha256 = "24475e38d39c19683bc88054524df018fe6949d70fbd4c69e298d39a0269f173";
  };

  setupHook = ./setup-hook.sh;

  meta = with lib; {
    homepage = "http://scons.org/";
    description = "An improved, cross-platform substitute for Make";
    license = licenses.mit;
    maintainers = with maintainers; [
      wkennington
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}
{'fraction_non_alphanumeric': 0.1368624919302776, 'fraction_numerical': 0.07488702388637831, 'mean_word_length': 3.144385026737968, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4918015', 'n_tokens_mistral': 638, 'n_tokens_neox': 572, 'n_words': 106}