lol
1{stdenv, fetchurl, m4, perl, lzma}:
2
3stdenv.mkDerivation rec {
4 name = "autoconf-2.13";
5
6 src = fetchurl {
7 url = "mirror://gnu/autoconf/${name}.tar.gz";
8 sha256 = "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh";
9 };
10
11 nativebuildInputs = [ lzma ];
12 buildInputs = [ m4 perl ];
13
14 doCheck = true;
15
16 # Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
17 # "fixed" path in generated files!
18 dontPatchShebangs = true;
19
20 postInstall = ''ln -s autoconf "$out"/bin/autoconf-2.13'';
21
22 meta = {
23 homepage = http://www.gnu.org/software/autoconf/;
24 description = "Part of the GNU Build System";
25 branch = "2.13";
26
27 longDescription = ''
28 GNU Autoconf is an extensible package of M4 macros that produce
29 shell scripts to automatically configure software source code
30 packages. These scripts can adapt the packages to many kinds of
31 UNIX-like systems without manual user intervention. Autoconf
32 creates a configuration script for a package from a template
33 file that lists the operating system features that the package
34 can use, in the form of M4 macro calls.
35 '';
36
37 license = stdenv.lib.licenses.gpl2Plus;
38 platforms = stdenv.lib.platforms.unix;
39 };
40}