diff --git a/pkgs/development/misc/man-pages/builder.sh b/pkgs/development/misc/man-pages/builder.sh new file mode 100644 index 000000000000..857fc6c17c0a --- /dev/null +++ b/pkgs/development/misc/man-pages/builder.sh @@ -0,0 +1,9 @@ +source $stdenv/setup + +tar zxf $src +cd man-pages-* + +sed -e "s#^MANDIR=.*#MANDIR=$out/share/man#" Makefile > Makefile.tmp +mv Makefile.tmp Makefile + +make install diff --git a/pkgs/development/misc/man-pages/default.nix b/pkgs/development/misc/man-pages/default.nix new file mode 100644 index 000000000000..3eb5df40639e --- /dev/null +++ b/pkgs/development/misc/man-pages/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "man-pages-2.39"; + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.win.tue.nl/pub/linux-local/manpages/man-pages-2.39.tar.gz; + md5 = "770f4e5b1a1298ed054ceae7cdbbbba4"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b285d3ab5564..feda2768e489 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -140,6 +140,10 @@ rec { inherit fetchurl stdenv db4 groff; }; + manpages = (import ../development/misc/man-pages) { + inherit fetchurl stdenv; + }; + parted = (import ../tools/misc/parted) { inherit fetchurl stdenv e2fsprogs ncurses readline; }; @@ -594,7 +598,11 @@ rec { m4 = gnum4; }; - antlr = (import ../development/tools/parsing/antlr) { + antlr3 = (import ../development/tools/parsing/antlr) { + inherit fetchurl stdenv jre; + }; + + antlr = (import ../development/tools/parsing/antlr/antlr-2.7.6.nix) { inherit fetchurl stdenv jre; };