* 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:
@@ -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 + ")";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user