nixpkgs/pkgs/data/documentation/man-pages/default.nix
Eelco Dolstra e84a3524b5 man-pages: Don't have a separate docdev output
I got:

  $ nix-env -f . -iA manpages
  $ man mmap
  No manual entry for mmap

which is suboptimal for a package that "documents the Linux kernel and
C library interfaces that are employed by user-space programs"
(https://www.kernel.org/doc/man-pages/).
2016-09-01 10:57:25 +02:00

22 lines
611 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "man-pages-${version}";
version = "4.07";
src = fetchurl {
url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
sha256 = "1vimj3va16plxmv46rw6nzw4m9l11hb7r1d217y1bjpd5q8nw8qz";
};
makeFlags = [ "MANDIR=$(out)/share/man" ];
meta = with stdenv.lib; {
description = "Linux development manual pages";
homepage = http://www.kernel.org/doc/man-pages/;
repositories.git = http://git.kernel.org/pub/scm/docs/man-pages/man-pages;
maintainers = with maintainers; [ nckx ];
platforms = with platforms; unix;
};
}