2022-03-30 09:31:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, m4, perl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "autoconf";
|
|
|
|
version = "2.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://gnu/autoconf/autoconf-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh";
|
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
nativeBuildInputs = [ m4 perl ];
|
|
|
|
strictDeps = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
|
|
|
postInstall = ''ln -s autoconf "$out"/bin/autoconf-2.13'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://www.gnu.org/software/autoconf/";
|
|
|
|
description = "Part of the GNU Build System";
|
|
|
|
branch = "2.13";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU Autoconf is an extensible package of M4 macros that produce
|
|
|
|
shell scripts to automatically configure software source code
|
|
|
|
packages. These scripts can adapt the packages to many kinds of
|
|
|
|
UNIX-like systems without manual user intervention. Autoconf
|
|
|
|
creates a configuration script for a package from a template
|
|
|
|
file that lists the operating system features that the package
|
|
|
|
can use, in the form of M4 macro calls.
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|