diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-03-10 16:12:46 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-03-10 16:12:46 +0000 |
commit | baec8f5b38e83a456eebdf742834efc2c22386c6 (patch) | |
tree | ecd654568b44dba0a8a0fb0c6abebbc7b1c5feda /pkgs/development/compilers/gcc-4.0-cross/default.nix | |
parent | 4c63a4a97a56d992ccc83e77ce477d3b22906240 (diff) |
* 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
Diffstat (limited to 'pkgs/development/compilers/gcc-4.0-cross/default.nix')
-rw-r--r-- | pkgs/development/compilers/gcc-4.0-cross/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc-4.0-cross/default.nix b/pkgs/development/compilers/gcc-4.0-cross/default.nix index a31353e2d233b..ecae99ceeee45 100644 --- a/pkgs/development/compilers/gcc-4.0-cross/default.nix +++ b/pkgs/development/compilers/gcc-4.0-cross/default.nix @@ -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 + ")"; + }; } |