Adding C++ std man pages.

svn path=/nixpkgs/trunk/; revision=14771
This commit is contained in:
Lluís Batlle i Rossell 2009-03-30 08:14:19 +00:00
parent f031955f3c
commit 35d3dc4012
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "std-man-pages-4.2.2";
src = fetchurl {
# We could use a list of mirrors for gcc.gnu.org
url = ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/libstdc++/doxygen/libstdc++-man-4.2.2.tar.bz2;
sha256 = "1572a5hlrj50gk03aardlrhhila0yjlvhqszl424297ga4g95mk2";
};
installPhase = ''
ensureDir $out/share/man
cp -R * $out/share/man
'';
meta = {
description = "C++ STD manual pages";
homepage = http://gcc.gnu.org/;
license = "GPL/LGPL";
};
}

View File

@ -7579,6 +7579,10 @@ let
inherit (gtkLibs) glib;
};
stdmanpages = import ../data/documentation/std-man-pages {
inherit fetchurl stdenv;
};
iana_etc = import ../data/misc/iana-etc {
inherit fetchurl stdenv;
};