* More descriptions.

svn path=/nixpkgs/trunk/; revision=6709
This commit is contained in:
Eelco Dolstra 2006-10-12 10:53:16 +00:00
parent ccd9579ada
commit 368c196a62
17 changed files with 70 additions and 5 deletions

View File

@ -11,4 +11,8 @@ stdenv.mkDerivation {
inherit ncurses; inherit ncurses;
buildInputs = [ncurses]; buildInputs = [ncurses];
meta = {
description = "The most popular clone of the VI editor";
};
} }

View File

@ -7,4 +7,8 @@ stdenv.mkDerivation {
md5 = "12e1faf49447c743c5c936636cd8a172"; md5 = "12e1faf49447c743c5c936636cd8a172";
}; };
buildInputs = [wxGTK chmlib]; buildInputs = [wxGTK chmlib];
meta = {
description = "A viewer for Microsoft HTML Help files";
};
} }

View File

@ -13,6 +13,11 @@ stdenv.mkDerivation {
plugins = map (x: x + x.mozillaPlugin) plugins; plugins = map (x: x + x.mozillaPlugin) plugins;
meta = { meta = {
description = firefox.meta.description + " (with various plugins)"; description =
firefox.meta.description
+ " (with plugins: "
+ (let lib = import ../../../../lib;
in lib.concatStrings (lib.intersperse ", " (map (x: x.name) plugins)))
+ ")";
}; };
} }

View File

@ -12,4 +12,8 @@ stdenv.mkDerivation {
}; };
configureFlags = (if sslSupport then "--with-ssl" else ""); configureFlags = (if sslSupport then "--with-ssl" else "");
buildInputs = [ncurses (if sslSupport then openssl else null)]; buildInputs = [ncurses (if sslSupport then openssl else null)];
meta = {
description = "A text-mode web browser";
};
} }

View File

@ -27,4 +27,8 @@ stdenv.mkDerivation {
NIX_LDFLAGS = "-ldvdcss"; NIX_LDFLAGS = "-ldvdcss";
configureFlags = "--enable-alsa"; configureFlags = "--enable-alsa";
meta = {
description = "Cross-platform media player and streaming server";
};
} }

View File

@ -11,4 +11,8 @@ stdenv.mkDerivation {
(if xineLib.xineramaSupport then xineLib.libXinerama else null) (if xineLib.xineramaSupport then xineLib.libXinerama else null)
]; ];
configureFlags = "--without-readline --disable-xft"; configureFlags = "--without-readline --disable-xft";
meta = {
description = "Xlib-based interface to Xine, a video player";
};
} }

View File

@ -12,6 +12,10 @@ let {
}; };
inherit apacheAnt polyglot soot javaCup xact jasmin jre javabdd paddle jedd patches; inherit apacheAnt polyglot soot javaCup xact jasmin jre javabdd paddle jedd patches;
meta = {
description = "The AspectBench Compiler for AspectJ";
};
}; };
soot = soot =

View File

@ -15,4 +15,10 @@ stdenv.mkDerivation {
# !!! apply only if noSysDirs is set # !!! apply only if noSysDirs is set
patches = [./no-sys-dirs.patch]; patches = [./no-sys-dirs.patch];
inherit noSysDirs langC langCC langF77 profiledCompiler; inherit noSysDirs langC langCC langF77 profiledCompiler;
meta = {
homepage = "http://gcc.gnu.org/";
license = "GPL/LGPL";
description = "GNU Compiler Collection, 3.4.x";
};
} }

View File

@ -16,4 +16,10 @@ stdenv.mkDerivation {
[./pass-cxxcpp.patch] [./pass-cxxcpp.patch]
++ (if noSysDirs then [./no-sys-dirs.patch] else []); ++ (if noSysDirs then [./no-sys-dirs.patch] else []);
inherit noSysDirs langC langCC langF77 profiledCompiler; inherit noSysDirs langC langCC langF77 profiledCompiler;
meta = {
homepage = "http://gcc.gnu.org/";
license = "GPL/LGPL";
description = "GNU Compiler Collection, 4.1.x";
};
} }

View File

@ -4,6 +4,7 @@
}: }:
assert langC; assert langC;
assert stdenv.isDarwin;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "gcc-4.0.1-apple-5341"; name = "gcc-4.0.1-apple-5341";

View File

@ -1,7 +1,7 @@
{stdenv, ghc, libraries}: {stdenv, ghc, libraries}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = ghc.name; inherit (ghc) name meta;
inherit ghc libraries; inherit ghc libraries;
builder = ./builder.sh; builder = ./builder.sh;
} }

View File

@ -18,4 +18,8 @@ stdenv.mkDerivation {
--x-libraries=${libX11}/lib"; --x-libraries=${libX11}/lib";
buildInputs = [kdelibs libX11 libXext libSM zlib perl qt expat libpng libjpeg]; buildInputs = [kdelibs libX11 libXext libSM zlib perl qt expat libpng libjpeg];
meta = {
description = "Interactive visualisation tool for Valgrind profiling data";
};
} }

View File

@ -25,4 +25,8 @@ stdenv.mkDerivation {
md5 = "cdae5956d7c52f35e90317913a660123"; md5 = "cdae5956d7c52f35e90317913a660123";
}) })
]; ];
meta = {
description = "A reimplementation of the Ultima VII game engine";
};
} }

View File

@ -17,6 +17,15 @@ rec {
fold (x: y: x + y) ""; fold (x: y: x + y) "";
# Place an element between each element of a list, e.g.,
# `intersperse "," ["a" "b" "c"]' returns ["a" "," "b" "," "c"].
intersperse = separator: list:
if list == [] || builtins.tail list == []
then list
else [(builtins.head list) separator]
++ (intersperse separator (builtins.tail list));
# Flatten the argument into a single list; that is, nested lists are # Flatten the argument into a single list; that is, nested lists are
# spliced into the top-level lists. E.g., `flatten [1 [2 [3] 4] 5] # spliced into the top-level lists. E.g., `flatten [1 [2 [3] 4] 5]
# == [1 2 3 4 5]' and `flatten 1 == [1]'. # == [1 2 3 4 5]' and `flatten 1 == [1]'.

View File

@ -7,4 +7,8 @@ stdenv.mkDerivation {
url = ftp://ftp.nluug.nl/pub/gnu/bash/bash-3.1.tar.gz; url = ftp://ftp.nluug.nl/pub/gnu/bash/bash-3.1.tar.gz;
md5 = "ef5304c4b22aaa5088972c792ed45d72"; md5 = "ef5304c4b22aaa5088972c792ed45d72";
}; };
meta = {
description = "GNU Bourne-Again Shell, the de facto standard shell on Linux";
};
} }

View File

@ -111,13 +111,14 @@ rec {
builder = ./tools/bash; builder = ./tools/bash;
args = [ ./scripts/builder-stdenv-initial.sh ]; args = [ ./scripts/builder-stdenv-initial.sh ];
inherit system staticTools; inherit system staticTools;
} // { } // {
mkDerivation = attrs: derivation ((removeAttrs attrs ["meta"]) // { # !!! too much duplication with stdenv/generic/default.nix
mkDerivation = attrs: (derivation ((removeAttrs attrs ["meta"]) // {
builder = ./tools/bash; builder = ./tools/bash;
args = ["-e" attrs.builder]; args = ["-e" attrs.builder];
stdenv = body; stdenv = body;
system = body.system; system = body.system;
}); })) // { meta = if attrs ? meta then attrs.meta else {}; };
shell = ./tools/bash; shell = ./tools/bash;
}; };
}; };

View File

@ -35,6 +35,7 @@ let {
ecj ecj
emacs emacs
enscript enscript
exult
file file
findutils findutils
firefoxWrapper firefoxWrapper