mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Adding C++ std man pages.
svn path=/nixpkgs/trunk/; revision=14771
This commit is contained in:
parent
f031955f3c
commit
35d3dc4012
22
pkgs/data/documentation/std-man-pages/default.nix
Normal file
22
pkgs/data/documentation/std-man-pages/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue