From 35d3dc401284b22a84acc3c0931c85c7eb811be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 30 Mar 2009 08:14:19 +0000 Subject: [PATCH] Adding C++ std man pages. svn path=/nixpkgs/trunk/; revision=14771 --- .../documentation/std-man-pages/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/data/documentation/std-man-pages/default.nix diff --git a/pkgs/data/documentation/std-man-pages/default.nix b/pkgs/data/documentation/std-man-pages/default.nix new file mode 100644 index 000000000000..a86e4b4ce177 --- /dev/null +++ b/pkgs/data/documentation/std-man-pages/default.nix @@ -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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ff4742ba6e7d..56db260cffc4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; };