nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 perl,
6 autoconf,
7 updateAutotoolsGnuConfigScriptsHook,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "automake";
12 version = "1.16.5";
13
14 src = fetchurl {
15 url = "mirror://gnu/automake/automake-${version}.tar.xz";
16 sha256 = "0sdl32qxdy7m06iggmkkvf7j520rmmgbsjzbm7fgnxwxdp6mh7gh";
17 };
18
19 strictDeps = true;
20 nativeBuildInputs = [
21 updateAutotoolsGnuConfigScriptsHook
22 autoconf
23 perl
24 ];
25 buildInputs = [ autoconf ];
26
27 setupHook = ./setup-hook.sh;
28
29 doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths
30 doInstallCheck = false; # runs the same thing, fails the same tests
31
32 # The test suite can run in parallel.
33 enableParallelBuilding = true;
34
35 # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
36 # "fixed" path in generated files!
37 dontPatchShebangs = true;
38
39 meta = {
40 branch = "1.16";
41 homepage = "https://www.gnu.org/software/automake/";
42 description = "GNU standard-compliant makefile generator";
43 license = lib.licenses.gpl2Plus;
44 longDescription = ''
45 GNU Automake is a tool for automatically generating
46 `Makefile.in' files compliant with the GNU Coding
47 Standards. Automake requires the use of Autoconf.
48 '';
49 platforms = lib.platforms.all;
50 };
51}