uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
41
pkgs/development/tools/misc/autoconf/2.13.nix
Normal file
41
pkgs/development/tools/misc/autoconf/2.13.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib, stdenv, fetchurl, m4, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "autoconf";
|
||||
version = "2.13";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/autoconf/autoconf-${version}.tar.gz";
|
||||
sha256 = "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ m4 perl ];
|
||||
strictDeps = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
||||
# "fixed" path in generated files!
|
||||
dontPatchShebangs = true;
|
||||
|
||||
postInstall = ''ln -s autoconf "$out"/bin/autoconf-2.13'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/autoconf/";
|
||||
description = "Part of the GNU Build System";
|
||||
branch = "2.13";
|
||||
|
||||
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.unix;
|
||||
};
|
||||
}
|
||||
52
pkgs/development/tools/misc/autoconf/2.64.nix
Normal file
52
pkgs/development/tools/misc/autoconf/2.64.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ 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";
|
||||
};
|
||||
|
||||
buildInputs = [ m4 perl ];
|
||||
|
||||
# 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.isCygwin) && (!stdenv.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;
|
||||
};
|
||||
}
|
||||
53
pkgs/development/tools/misc/autoconf/2.69.nix
Normal file
53
pkgs/development/tools/misc/autoconf/2.69.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib, stdenv, fetchurl, m4, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "autoconf";
|
||||
version = "2.69";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/autoconf/autoconf-${version}.tar.xz";
|
||||
sha256 = "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4";
|
||||
};
|
||||
|
||||
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.isCygwin) && (!stdenv.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;
|
||||
};
|
||||
}
|
||||
36
pkgs/development/tools/misc/autoconf/2.71-fix-race.patch
Normal file
36
pkgs/development/tools/misc/autoconf/2.71-fix-race.patch
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
https://savannah.gnu.org/support/index.php?110521
|
||||
https://git.savannah.gnu.org/cgit/autoconf.git/patch/?id=3a9802d60156809c139e9b4620bf04917e143ee2
|
||||
--- a/lib/Autom4te/FileUtils.pm
|
||||
+++ b/lib/Autom4te/FileUtils.pm
|
||||
@@ -34,12 +34,12 @@ This perl module provides various general purpose file handling functions.
|
||||
|
||||
=cut
|
||||
|
||||
-use 5.006;
|
||||
+use 5.008;
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
|
||||
use Exporter;
|
||||
-use File::stat;
|
||||
+use Time::HiRes qw(stat);
|
||||
use IO::File;
|
||||
|
||||
use Autom4te::Channels;
|
||||
@@ -115,10 +115,11 @@ sub mtime ($)
|
||||
return 0
|
||||
if $file eq '-' || ! -f $file;
|
||||
|
||||
- my $stat = stat ($file)
|
||||
+ my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
|
||||
+ $atime,$mtime,$ctime,$blksize,$blocks) = stat ($file)
|
||||
or fatal "cannot stat $file: $!";
|
||||
|
||||
- return $stat->mtime;
|
||||
+ return $mtime;
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
69
pkgs/development/tools/misc/autoconf/default.nix
Normal file
69
pkgs/development/tools/misc/autoconf/default.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{ lib, stdenv, fetchurl, m4, perl, texinfo }:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
# cgit) that are needed here should be included directly in Nixpkgs as
|
||||
# files.
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "autoconf";
|
||||
version = "2.71";
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/autoconf/autoconf-${version}.tar.xz";
|
||||
sha256 = "197sl23irn6s9pd54rxj5vcp5y8dv65jb9yfqgr2g56cxg7q6k7i";
|
||||
};
|
||||
patches = [
|
||||
# fix stale autom4te cache race condition:
|
||||
# https://savannah.gnu.org/support/index.php?110521
|
||||
./2.71-fix-race.patch
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ m4 perl texinfo ];
|
||||
buildInputs = [ m4 ];
|
||||
postBuild = "
|
||||
make html
|
||||
";
|
||||
|
||||
postInstall = "
|
||||
make install-html
|
||||
";
|
||||
|
||||
# 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.isCygwin) && (!stdenv.isSunOS));
|
||||
|
||||
# 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"
|
||||
'';
|
||||
|
||||
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.gpl3Plus;
|
||||
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue