texinfo: Add version 7.0.2

This commit is contained in:
Alexis Hildebrandt
2023-02-10 09:42:54 +01:00
parent 23496088d9
commit 0e50c09cf4
3 changed files with 12 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
import ./common.nix {
version = "7.0.2";
sha256 = "sha256-8hHsMmE4PhqJ5FVak7nQF/6Ae5w5kvst/0hx2ubaVK0=";
}

View File

@@ -28,6 +28,10 @@ stdenv.mkDerivation {
patches = patches ++ optional crossBuildTools ./cross-tools-flags.patch;
postPatch = ''
patchShebangs tp/maintain
'';
# ncurses is required to build `makedoc'
# this feature is introduced by the ./cross-tools-flags.patch
NATIVE_TOOLS_CFLAGS = if crossBuildTools then "-I${getDev buildPackages.ncurses}/include" else null;
@@ -58,7 +62,7 @@ stdenv.mkDerivation {
&& !stdenv.isDarwin
&& !stdenv.isSunOS; # flaky
checkFlags = lib.optionals (!stdenv.hostPlatform.isMusl) [
checkFlags = lib.optionals (!stdenv.hostPlatform.isMusl && lib.versionOlder version "7") [
# Test is known to fail on various locales on texinfo-6.8:
# https://lists.gnu.org/r/bug-texinfo/2021-07/msg00012.html
"XFAIL_TESTS=test_scripts/layout_formatting_fr_icons.sh"
@@ -72,8 +76,9 @@ stdenv.mkDerivation {
'';
meta = {
homepage = "https://www.gnu.org/software/texinfo/";
description = "The GNU documentation system";
homepage = "https://www.gnu.org/software/texinfo/";
changelog = "https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ vrthra oxij ];

View File

@@ -18678,6 +18678,7 @@ with pkgs;
texinfo6_5 = callPackage ../development/tools/misc/texinfo/6.5.nix { }; # needed for allegro
texinfo6_7 = callPackage ../development/tools/misc/texinfo/6.7.nix { }; # needed for gpm, iksemel and fwknop
texinfo6 = callPackage ../development/tools/misc/texinfo/6.8.nix { };
texinfo7 = callPackage ../development/tools/misc/texinfo/7.0.nix { };
texinfo = texinfo6;
texinfoInteractive = texinfo.override { interactive = true; };