aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/texinfo
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-12-31 09:47:26 +0100
committerVladimír Čunát <vcunat@gmail.com>2015-12-31 09:53:02 +0100
commitf9f6f41bff2213e199bded515e9b66d1e5c4d7dd (patch)
tree29c5a75228e31f305f42c5b761709a186e406776 /pkgs/development/tools/misc/texinfo
parentbbcf127c7c9029cba43493d7d25a9d1c65d59152 (diff)
parent468f698f609e123bb0ffae67181d07ac99eb2204 (diff)
Merge branch 'master' into closure-size
TODO: there was more significant refactoring of qtbase and plasma 5.5 on master, and I'm deferring pointing to correct outputs to later.
Diffstat (limited to 'pkgs/development/tools/misc/texinfo')
-rw-r--r--pkgs/development/tools/misc/texinfo/5.2.nix11
-rw-r--r--pkgs/development/tools/misc/texinfo/6.0.nix21
2 files changed, 19 insertions, 13 deletions
diff --git a/pkgs/development/tools/misc/texinfo/5.2.nix b/pkgs/development/tools/misc/texinfo/5.2.nix
index a9edccbd200..d01a2f9cdd0 100644
--- a/pkgs/development/tools/misc/texinfo/5.2.nix
+++ b/pkgs/development/tools/misc/texinfo/5.2.nix
@@ -1,4 +1,6 @@
-{ stdenv, fetchurl, xz, ncurses, perl, interactive ? false }:
+{ stdenv, fetchurl, ncurses, perl, xz, procps, interactive ? false }:
+
+with stdenv.lib;
stdenv.mkDerivation rec {
name = "texinfo-5.2";
@@ -9,7 +11,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [ perl xz.bin ]
- ++ stdenv.lib.optional interactive ncurses;
+ ++ optional interactive ncurses
+ ++ optional doCheck procps; # for tests
preInstall = ''
installFlags="TEXMF=$out/texmf-dist";
@@ -21,8 +24,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.gnu.org/software/texinfo/";
description = "The GNU documentation system";
- license = stdenv.lib.licenses.gpl3Plus;
- platforms = stdenv.lib.platforms.all;
+ license = licenses.gpl3Plus;
+ platforms = platforms.all;
longDescription = ''
Texinfo is the official documentation format of the GNU project.
diff --git a/pkgs/development/tools/misc/texinfo/6.0.nix b/pkgs/development/tools/misc/texinfo/6.0.nix
index 11e822291e8..507ca22cd1a 100644
--- a/pkgs/development/tools/misc/texinfo/6.0.nix
+++ b/pkgs/development/tools/misc/texinfo/6.0.nix
@@ -1,4 +1,6 @@
-{ stdenv, fetchurl, ncurses, perl, xz, libiconv, gawk, interactive ? false }:
+{ stdenv, fetchurl, ncurses, perl, xz, libiconv, gawk, procps, interactive ? false }:
+
+with stdenv.lib;
stdenv.mkDerivation rec {
name = "texinfo-6.0";
@@ -9,23 +11,25 @@ stdenv.mkDerivation rec {
};
buildInputs = [ perl xz ]
- ++ stdenv.lib.optionals stdenv.isSunOS [ libiconv gawk ]
- ++ stdenv.lib.optional interactive ncurses;
+ ++ optionals stdenv.isSunOS [ libiconv gawk ]
+ ++ optional interactive ncurses
+ ++ optional doCheck procps; # for tests
- configureFlags = stdenv.lib.optionalString stdenv.isSunOS "AWK=${gawk}/bin/awk";
+ configureFlags = stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
preInstall = ''
installFlags="TEXMF=$out/texmf-dist";
installTargets="install install-tex";
'';
- doCheck = !stdenv.isDarwin && !interactive && !stdenv.isSunOS/*flaky*/;
+ doCheck = interactive # simplify bootstrapping
+ && !stdenv.isDarwin && !stdenv.isSunOS/*flaky*/;
- meta = {
+ meta = with stdenv.lib; {
homepage = "http://www.gnu.org/software/texinfo/";
description = "The GNU documentation system";
- license = stdenv.lib.licenses.gpl3Plus;
- platforms = stdenv.lib.platforms.all;
+ license = licenses.gpl3Plus;
+ platforms = platforms.all;
longDescription = ''
Texinfo is the official documentation format of the GNU project.
@@ -42,6 +46,5 @@ stdenv.mkDerivation rec {
need revise only that one document. The Texinfo system is
well-integrated with GNU Emacs.
'';
- branch = "5.2";
};
}