nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 xz,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "autoconf-archive";
10 version = "2024.10.16";
11
12 src = fetchurl {
13 url = "mirror://gnu/autoconf-archive/autoconf-archive-${version}.tar.xz";
14 hash = "sha256-e81dABkW86UO10NvT3AOPSsbrePtgDIZxZLWJQKlc2M=";
15 };
16
17 patches = [
18 # cherry-picked changes from
19 # https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=fadde164479a926d6b56dd693ded2a4c36ed89f0
20 # can be removed on next release
21 ./0001-ax_check_gl.m4-properly-quote-m4_fatal.patch
22 ./0002-ax_check_glx.m4-properly-quote-m4_fatal.patch
23 ./0003-ax_switch_flags.m4-properly-quote-m4_fatal.patch
24 ];
25
26 strictDeps = true;
27 enableParallelBuilding = true;
28
29 buildInputs = [ xz ];
30
31 meta = with lib; {
32 description = "Archive of autoconf m4 macros";
33 homepage = "https://www.gnu.org/software/autoconf-archive/";
34 license = licenses.gpl3;
35 platforms = platforms.unix;
36 };
37}