From baec8f5b38e83a456eebdf742834efc2c22386c6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 10 Mar 2006 16:12:46 +0000 Subject: * 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 --- pkgs/development/compilers/gcc-4.0-cross/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/development/compilers/gcc-4.0-cross/default.nix') 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 + ")"; + }; } -- cgit 1.4.1