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