587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
31 lines
748 B
Nix
31 lines
748 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "man-pages";
|
|
version = "6.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/docs/man-pages/${pname}-${version}.tar.xz";
|
|
hash = "sha256-gkA61LwXqtuST2hji3nWkwssvVUVMSSKepaId52077I=";
|
|
};
|
|
|
|
makeFlags = [
|
|
# Clobber /usr/bin/env with the one in PATH.
|
|
"SHELL=env"
|
|
"prefix=${placeholder "out"}"
|
|
];
|
|
|
|
dontBuild = true;
|
|
|
|
outputDocdev = "out";
|
|
|
|
enableParallelInstalling = true;
|
|
|
|
meta = with lib; {
|
|
description = "Linux development manual pages";
|
|
homepage = "https://www.kernel.org/doc/man-pages/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
priority = 30; # if a package comes with its own man page, prefer it
|
|
};
|
|
}
|