2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl, autoconf }:
|
2015-04-07 20:57:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-11 22:14:15 +01:00
|
|
|
# When updating, beware of https://github.com/NixOS/nixpkgs/pull/131928#issuecomment-896614165
|
2021-08-12 17:16:30 +01:00
|
|
|
pname = "automake";
|
|
|
|
version = "1.16.3";
|
2015-04-07 20:57:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 17:16:30 +01:00
|
|
|
url = "mirror://gnu/automake/automake-${version}.tar.xz";
|
2021-08-11 22:14:15 +01:00
|
|
|
sha256 = "0fmz2fhmzcpacnprl5msphvaflwiy0hvpgmqlgfny72ddijzfazz";
|
2015-04-07 20:57:50 +01:00
|
|
|
};
|
|
|
|
|
2017-12-10 15:51:05 +00:00
|
|
|
nativeBuildInputs = [ autoconf perl ];
|
|
|
|
buildInputs = [ autoconf ];
|
2015-04-07 20:57:50 +01:00
|
|
|
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
|
|
|
# Disable indented log output from Make, otherwise "make.test" will
|
|
|
|
# fail.
|
|
|
|
preCheck = "unset NIX_INDENT_MAKE";
|
2018-08-10 04:22:49 +01:00
|
|
|
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
|
2015-04-07 20:57:50 +01:00
|
|
|
|
|
|
|
# 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-08-12 17:16:30 +01:00
|
|
|
meta = with lib; {
|
2020-03-22 13:42:47 +00:00
|
|
|
branch = "1.16";
|
|
|
|
homepage = "https://www.gnu.org/software/automake/";
|
2015-04-07 20:57:50 +01:00
|
|
|
description = "GNU standard-compliant makefile generator";
|
2021-08-12 17:16:30 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2015-04-07 20:57:50 +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-08-12 17:16:30 +01:00
|
|
|
platforms = platforms.all;
|
2015-04-07 20:57:50 +01:00
|
|
|
};
|
|
|
|
}
|