2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl, autoconf }:
|
2019-04-05 20:03:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 19:42:54 +00:00
|
|
|
pname = "automake";
|
|
|
|
version = "1.15.1";
|
2019-04-05 20:03:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-09 19:42:54 +00:00
|
|
|
url = "mirror://gnu/automake/automake-${version}.tar.xz";
|
2020-07-03 03:48:24 +01:00
|
|
|
sha256 = "1bzd9g32dfm4rsbw93ld9x7b5nc1y6i4m6zp032qf1i28a8s6sxg";
|
2019-04-05 20:03:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoconf perl ];
|
|
|
|
buildInputs = [ autoconf ];
|
|
|
|
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
2019-10-18 15:05:19 +01:00
|
|
|
patches = [ ./help2man-SOURCE_DATE_EPOCH-support.patch ];
|
|
|
|
|
2019-04-05 20:03:59 +01:00
|
|
|
# Disable indented log output from Make, otherwise "make.test" will
|
|
|
|
# fail.
|
|
|
|
preCheck = "unset NIX_INDENT_MAKE";
|
|
|
|
doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths
|
|
|
|
doInstallCheck = false; # runs the same thing, fails the same tests
|
|
|
|
|
|
|
|
# The test suite can run in parallel.
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
branch = "1.15";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gnu.org/software/automake/";
|
2019-04-05 20:03:59 +01:00
|
|
|
description = "GNU standard-compliant makefile generator";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2019-04-05 20:03:59 +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
|
|
|
platforms = lib.platforms.all;
|
2019-04-05 20:03:59 +01:00
|
|
|
};
|
|
|
|
}
|