2021-01-15 07:29:18 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2011-03-24 11:44:43 +00:00
|
|
|
|
2021-05-02 12:34:03 +00:00
|
|
|
let
|
|
|
|
year = "2017";
|
|
|
|
minor = "a";
|
|
|
|
in
|
|
|
|
|
2011-03-24 11:44:43 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-04-15 08:13:19 +00:00
|
|
|
pname = "man-pages-posix";
|
2021-05-02 12:34:03 +00:00
|
|
|
version = "${year}${minor}";
|
2011-03-24 11:44:43 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-02 12:34:03 +00:00
|
|
|
url = "mirror://kernel/linux/docs/man-pages/man-pages-posix/${pname}-${year}-${minor}.tar.xz";
|
2021-04-15 08:13:19 +00:00
|
|
|
sha256 = "ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3";
|
2011-03-24 11:44:43 +00:00
|
|
|
};
|
|
|
|
|
2021-04-15 08:13:19 +00:00
|
|
|
makeFlags = [
|
|
|
|
"MANDIR=${placeholder "out"}/share/man"
|
|
|
|
];
|
2011-03-24 11:44:43 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "POSIX man-pages (0p, 1p, 3p)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.kernel.org/doc/man-pages/";
|
2021-01-15 07:29:18 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2021-04-15 08:13:19 +00:00
|
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
2011-03-24 11:44:43 +00:00
|
|
|
};
|
|
|
|
}
|