2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
let
|
|
|
|
year = "2017";
|
|
|
|
minor = "a";
|
|
|
|
in
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-04-17 00:35:05 +00:00
|
|
|
pname = "man-pages-posix";
|
2021-05-03 20:48:10 +00:00
|
|
|
version = "${year}${minor}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-03 20:48:10 +00:00
|
|
|
url = "mirror://kernel/linux/docs/man-pages/man-pages-posix/${pname}-${year}-${minor}.tar.xz";
|
2021-04-17 00:35:05 +00:00
|
|
|
sha256 = "ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-17 00:35:05 +00:00
|
|
|
makeFlags = [
|
|
|
|
"MANDIR=${placeholder "out"}/share/man"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "POSIX man-pages (0p, 1p, 3p)";
|
|
|
|
homepage = "https://www.kernel.org/doc/man-pages/";
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2021-04-17 00:35:05 +00:00
|
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|