2024-06-20 14:57:18 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl, autoconf, updateAutotoolsGnuConfigScriptsHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "automake";
|
2021-12-26 17:43:05 +00:00
|
|
|
version = "1.16.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-09-18 10:52:07 +00:00
|
|
|
url = "mirror://gnu/automake/automake-${version}.tar.xz";
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "0sdl32qxdy7m06iggmkkvf7j520rmmgbsjzbm7fgnxwxdp6mh7gh";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
strictDeps = true;
|
2024-06-20 14:57:18 +00:00
|
|
|
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook autoconf perl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ autoconf ];
|
|
|
|
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
branch = "1.16";
|
|
|
|
homepage = "https://www.gnu.org/software/automake/";
|
|
|
|
description = "GNU standard-compliant makefile generator";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00: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-09-18 10:52:07 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|