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