texinfo: fix doCheck properly, cleanup (close #11527)

authored by Jan Malakhovski and committed by Vladimír Čunát daa199a9 82a21cca

+16 -10
+7 -4
pkgs/development/tools/misc/texinfo/5.2.nix
··· 1 - { stdenv, fetchurl, ncurses, perl, xz, interactive ? false }: 2 3 stdenv.mkDerivation rec { 4 name = "texinfo-5.2"; ··· 9 }; 10 11 buildInputs = [ perl xz ] 12 - ++ stdenv.lib.optional interactive ncurses; 13 14 preInstall = '' 15 installFlags="TEXMF=$out/texmf-dist"; ··· 21 meta = { 22 homepage = "http://www.gnu.org/software/texinfo/"; 23 description = "The GNU documentation system"; 24 - license = stdenv.lib.licenses.gpl3Plus; 25 - platforms = stdenv.lib.platforms.all; 26 27 longDescription = '' 28 Texinfo is the official documentation format of the GNU project.
··· 1 + { stdenv, fetchurl, ncurses, perl, xz, procps, interactive ? false }: 2 + 3 + with stdenv.lib; 4 5 stdenv.mkDerivation rec { 6 name = "texinfo-5.2"; ··· 11 }; 12 13 buildInputs = [ perl xz ] 14 + ++ optional interactive ncurses 15 + ++ optional doCheck procps; # for tests 16 17 preInstall = '' 18 installFlags="TEXMF=$out/texmf-dist"; ··· 24 meta = { 25 homepage = "http://www.gnu.org/software/texinfo/"; 26 description = "The GNU documentation system"; 27 + license = licenses.gpl3Plus; 28 + platforms = platforms.all; 29 30 longDescription = '' 31 Texinfo is the official documentation format of the GNU project.
+9 -6
pkgs/development/tools/misc/texinfo/6.0.nix
··· 1 - { stdenv, fetchurl, ncurses, perl, xz, libiconv, gawk, interactive ? false }: 2 3 stdenv.mkDerivation rec { 4 name = "texinfo-6.0"; ··· 9 }; 10 11 buildInputs = [ perl xz ] 12 - ++ stdenv.lib.optionals stdenv.isSunOS [ libiconv gawk ] 13 - ++ stdenv.lib.optional interactive ncurses; 14 15 configureFlags = stdenv.lib.optionalString stdenv.isSunOS "AWK=${gawk}/bin/awk"; 16 ··· 19 installTargets="install install-tex"; 20 ''; 21 22 - doCheck = !stdenv.isDarwin && !interactive && !stdenv.isSunOS/*flaky*/; 23 24 meta = { 25 homepage = "http://www.gnu.org/software/texinfo/"; 26 description = "The GNU documentation system"; 27 - license = stdenv.lib.licenses.gpl3Plus; 28 - platforms = stdenv.lib.platforms.all; 29 30 longDescription = '' 31 Texinfo is the official documentation format of the GNU project.
··· 1 + { stdenv, fetchurl, ncurses, perl, xz, libiconv, gawk, procps, interactive ? false }: 2 + 3 + with stdenv.lib; 4 5 stdenv.mkDerivation rec { 6 name = "texinfo-6.0"; ··· 11 }; 12 13 buildInputs = [ perl xz ] 14 + ++ optionals stdenv.isSunOS [ libiconv gawk ] 15 + ++ optional interactive ncurses 16 + ++ optional doCheck procps; # for tests 17 18 configureFlags = stdenv.lib.optionalString stdenv.isSunOS "AWK=${gawk}/bin/awk"; 19 ··· 22 installTargets="install install-tex"; 23 ''; 24 25 + doCheck = !stdenv.isDarwin && !stdenv.isSunOS/*flaky*/; 26 27 meta = { 28 homepage = "http://www.gnu.org/software/texinfo/"; 29 description = "The GNU documentation system"; 30 + license = licenses.gpl3Plus; 31 + platforms = platforms.all; 32 33 longDescription = '' 34 Texinfo is the official documentation format of the GNU project.