<commit_before>{lib, stdenv, fetchurl, m4, perl}:

# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or
# cgit) that are needed here should be included directly in Nixpkgs as
# files.

stdenv.mkDerivation rec {
  pname = "libtool";
  version = "1.5.26";

  src = fetchurl {
    url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
    sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
  };

  nativeBuildInputs = [m4];
  buildInputs = [perl];

  # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
  # "fixed" path in generated files!<commit_msg>libtool_1_5: remove used-in-fetchurl warning<commit_after>{lib, stdenv, fetchurl, m4, perl}:

stdenv.mkDerivation rec {
  pname = "libtool";
  version = "1.5.26";

  src = fetchurl {
    url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
    sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
  };

  nativeBuildInputs = [m4];
  buildInputs = [perl];

  # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
  # "fixed" path in generated files!
{'fraction_non_alphanumeric': 0.13808267370272648, 'fraction_numerical': 0.03869832893579595, 'mean_word_length': 4.149321266968326, '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': '6194500', 'n_tokens_mistral': 461, 'n_tokens_neox': 437, 'n_words': 108}