nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 52 lines 1.6 kB view raw
1{ stdenv, fetchurl, m4, perl }: 2 3stdenv.mkDerivation rec { 4 name = "autoconf-2.69"; 5 6 src = fetchurl { 7 url = "mirror://gnu/autoconf/${name}.tar.xz"; 8 sha256 = "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4"; 9 }; 10 11 nativeBuildInputs = [ m4 perl ]; 12 buildInputs = [ m4 ]; 13 14 # Work around a known issue in Cygwin. See 15 # http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for 16 # details. 17 # There are many test failures on `i386-pc-solaris2.11'. 18 #doCheck = ((!stdenv.isCygwin) && (!stdenv.isSunOS)); 19 doCheck = false; 20 21 # Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the 22 # "fixed" path in generated files! 23 dontPatchShebangs = true; 24 25 enableParallelBuilding = true; 26 27 # Make the Autotest test suite run in parallel. 28 preCheck ='' 29 export TESTSUITEFLAGS="-j$NIX_BUILD_CORES" 30 ''; 31 32 doInstallCheck = false; # fails 33 34 meta = { 35 homepage = https://www.gnu.org/software/autoconf/; 36 description = "Part of the GNU Build System"; 37 38 longDescription = '' 39 GNU Autoconf is an extensible package of M4 macros that produce 40 shell scripts to automatically configure software source code 41 packages. These scripts can adapt the packages to many kinds of 42 UNIX-like systems without manual user intervention. Autoconf 43 creates a configuration script for a package from a template 44 file that lists the operating system features that the package 45 can use, in the form of M4 macro calls. 46 ''; 47 48 license = stdenv.lib.licenses.gpl2Plus; 49 50 platforms = stdenv.lib.platforms.all; 51 }; 52}