1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

man-pages-posix: 2013-a -> 2017-a

* Add myself as maintainer
* Refactor nix expression (use pname, version, makeFlags attribute)
This commit is contained in:
sternenseemann 2021-04-15 10:13:19 +02:00
parent 4461230cc5
commit b4279a3209

View file

@ -1,21 +1,22 @@
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "man-pages-posix-2013-a";
pname = "man-pages-posix";
version = "2017-a";
src = fetchurl {
url = "mirror://kernel/linux/docs/man-pages/man-pages-posix/${name}.tar.xz";
sha256 = "0258j05zdrxpgdj8nndbyi7bvrs8fxdksb0xbfrylzgzfmf3lqqr";
url = "mirror://kernel/linux/docs/man-pages/man-pages-posix/${pname}-${version}.tar.xz";
sha256 = "ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3";
};
preBuild =
''
makeFlagsArray=(MANDIR=$out/share/man)
'';
makeFlags = [
"MANDIR=${placeholder "out"}/share/man"
];
meta = {
description = "POSIX man-pages (0p, 1p, 3p)";
homepage = "https://www.kernel.org/doc/man-pages/";
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.sternenseemann ];
};
}