2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl, autoconf }:
|
2009-05-20 13:20:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 19:42:54 +00:00
|
|
|
pname = "automake";
|
|
|
|
version = "1.11.6";
|
2009-05-20 13:20:51 +01:00
|
|
|
|
2011-09-26 13:07:21 +01:00
|
|
|
# TODO: Remove the `aclocal' wrapper when $ACLOCAL_PATH support is
|
|
|
|
# available upstream; see
|
2018-12-01 18:22:13 +00:00
|
|
|
# <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9026>.
|
2009-05-20 13:20:51 +01:00
|
|
|
builder = ./builder.sh;
|
2009-12-10 20:54:58 +00:00
|
|
|
|
2009-05-20 13:20:51 +01:00
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-09 19:42:54 +00:00
|
|
|
url = "mirror://gnu/automake/automake-${version}.tar.xz";
|
2012-07-10 14:34:38 +01:00
|
|
|
sha256 = "1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5";
|
2009-05-20 13:20:51 +01:00
|
|
|
};
|
|
|
|
|
2018-06-27 15:27:58 +01:00
|
|
|
patches = [ ./fix-test-autoconf-2.69.patch ./fix-perl-5.26.patch ];
|
2012-07-07 12:56:19 +01:00
|
|
|
|
2022-06-21 22:44:46 +01:00
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ perl autoconf ];
|
|
|
|
buildInputs = [ autoconf ];
|
2009-05-20 13:20:51 +01:00
|
|
|
|
|
|
|
# Disable indented log output from Make, otherwise "make.test" will
|
|
|
|
# fail.
|
|
|
|
preCheck = "unset NIX_INDENT_MAKE";
|
2018-08-10 04:22:32 +01:00
|
|
|
doCheck = false; # takes _a lot_ of time, fails 11 of 782 tests
|
2009-12-10 20:54:58 +00:00
|
|
|
|
2009-05-20 13:20:51 +01:00
|
|
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
2009-12-10 20:54:58 +00:00
|
|
|
|
2012-07-07 12:56:19 +01:00
|
|
|
# Run the test suite in parallel.
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2009-05-20 13:20:51 +01:00
|
|
|
meta = {
|
2014-11-03 10:57:46 +00:00
|
|
|
branch = "1.11";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gnu.org/software/automake/";
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "GNU standard-compliant makefile generator";
|
2009-05-20 13:20:51 +01:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU Automake is a tool for automatically generating
|
|
|
|
`Makefile.in' files compliant with the GNU Coding
|
|
|
|
Standards. Automake requires the use of Autoconf.
|
|
|
|
'';
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2009-12-10 20:54:58 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
platforms = lib.platforms.all;
|
2009-05-20 13:20:51 +01:00
|
|
|
};
|
|
|
|
}
|