* stdenv.mkDerivation now takes an optional attribute "meta" that

contains arbitrary information about a package, like this:

  meta = {
    homepage = "http://gcc.gnu.org/";
    license = "GPL/LGPL";
    description = "GNU Compiler Collection, 4.0.x";
  };

  The "meta" attribute is not passed to the actual derivation
  operation, so it's not a dependency --- changes to "meta" attributes
  don't trigger a recompilation.

  Now we have to standardise some useful attributes ;-)

svn path=/nixpkgs/branches/usability/; revision=5024
This commit is contained in:
Eelco Dolstra
2006-03-10 16:12:46 +00:00
parent 4c63a4a97a
commit baec8f5b38
8 changed files with 50 additions and 7 deletions

View File

@@ -26,4 +26,10 @@ stdenv.mkDerivation {
buildInputs = [binutilsCross];
inherit kernelHeadersCross binutilsCross;
platform = cross;
meta = {
homepage = "http://gcc.gnu.org/";
license = "GPL/LGPL";
description = "GNU Compiler Collection, 4.0.x (cross-compiler for " + cross + ")";
};
}

View File

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

View File

@@ -6,4 +6,9 @@ stdenv.mkDerivation {
url = http://nix.cs.uu.nl/dist/tarballs/aterm-2.4.2.tar.gz;
md5 = "18617081dd112d85e6c4b1b552628114";
};
meta = {
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
license = "LGPL";
description = "Library for manipulation of term data structures in C";
};
}