depot/third_party/nixpkgs/pkgs/data/documentation/man-pages-posix/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

21 lines
499 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "man-pages-posix-2013-a";
src = fetchurl {
url = "mirror://kernel/linux/docs/man-pages/man-pages-posix/${name}.tar.xz";
sha256 = "0258j05zdrxpgdj8nndbyi7bvrs8fxdksb0xbfrylzgzfmf3lqqr";
};
preBuild =
''
makeFlagsArray=(MANDIR=$out/share/man)
'';
meta = {
description = "POSIX man-pages (0p, 1p, 3p)";
homepage = "https://www.kernel.org/doc/man-pages/";
platforms = stdenv.lib.platforms.unix;
};
}