mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
64 lines
1.6 KiB
Nix
64 lines
1.6 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
m4,
|
|
perl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "autoconf";
|
|
version = "2.64";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/autoconf/autoconf-${version}.tar.xz";
|
|
sha256 = "0j3jdjpf5ly39dlp0bg70h72nzqr059k0x8iqxvaxf106chpgn9j";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
m4
|
|
perl
|
|
];
|
|
buildInputs = [ m4 ];
|
|
|
|
# Work around a known issue in Cygwin. See
|
|
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
|
|
# details.
|
|
# There are many test failures on `i386-pc-solaris2.11'.
|
|
#doCheck = ((!stdenv.hostPlatform.isCygwin) && (!stdenv.hostPlatform.isSunOS));
|
|
doCheck = false;
|
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
# "fixed" path in generated files!
|
|
dontPatchShebangs = true;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# Make the Autotest test suite run in parallel.
|
|
preCheck = ''
|
|
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
|
|
'';
|
|
|
|
doInstallCheck = false; # fails
|
|
|
|
meta = {
|
|
homepage = "https://www.gnu.org/software/autoconf/";
|
|
description = "Part of the GNU Build System";
|
|
|
|
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.
|
|
'';
|
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|