From 253cee1452e651773b5fa9b05cbc09f3db481fc9 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 22 Jul 2024 22:11:32 +0100 Subject: [PATCH] automake117x: init 1.17 Switch to it by default will happen separately. Changes: https://lists.gnu.org/archive/html/info-gnu/2024-07/msg00006.html --- .../tools/misc/automake/automake-1.17.x.nix | 40 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/development/tools/misc/automake/automake-1.17.x.nix diff --git a/pkgs/development/tools/misc/automake/automake-1.17.x.nix b/pkgs/development/tools/misc/automake/automake-1.17.x.nix new file mode 100644 index 000000000000..991049a47950 --- /dev/null +++ b/pkgs/development/tools/misc/automake/automake-1.17.x.nix @@ -0,0 +1,40 @@ +{ lib, stdenv, fetchurl, perl, autoconf, updateAutotoolsGnuConfigScriptsHook }: + +stdenv.mkDerivation rec { + pname = "automake"; + version = "1.17"; + + src = fetchurl { + url = "mirror://gnu/automake/automake-${version}.tar.xz"; + hash = "sha256-iSDB/EEeE7kL9wTvnbbynVQOdtIyyzssn03EzFmb2ZA="; + }; + + strictDeps = true; + nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook autoconf perl ]; + buildInputs = [ autoconf ]; + + setupHook = ./setup-hook.sh; + + doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths + doInstallCheck = false; # runs the same thing, fails the same tests + + # The test suite can run in parallel. + enableParallelBuilding = true; + + # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the + # "fixed" path in generated files! + dontPatchShebangs = true; + + meta = with lib; { + branch = "1.17"; + homepage = "https://www.gnu.org/software/automake/"; + description = "GNU standard-compliant makefile generator"; + license = licenses.gpl2Plus; + longDescription = '' + GNU Automake is a tool for automatically generating + `Makefile.in' files compliant with the GNU Coding + Standards. Automake requires the use of Autoconf. + ''; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a2a18fff0194..ebbc04749bfa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17794,6 +17794,8 @@ with pkgs; automake116x = callPackage ../development/tools/misc/automake/automake-1.16.x.nix { }; + automake117x = callPackage ../development/tools/misc/automake/automake-1.17.x.nix { }; + avrdude = callPackage ../development/embedded/avrdude { }; b4 = callPackage ../development/tools/b4 { };