nixpkgs/pkgs/data/documentation/man-pages/default.nix

22 lines
512 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2015-01-26 19:57:22 +01:00
name = "man-pages-3.78";
2012-11-05 11:42:05 +01:00
src = fetchurl {
2013-03-09 01:49:53 +01:00
url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
2015-01-26 19:57:22 +01:00
sha256 = "0zm3sc0zbfng440jjqha8qnzivvg5nqpwgi7zv9h8qxwgyhrfa65";
};
preBuild =
''
makeFlagsArray=(MANDIR=$out/share/man)
'';
meta = {
description = "Linux development manual pages";
homepage = http://www.kernel.org/doc/man-pages/;
2014-04-03 06:56:36 +02:00
repositories.git = http://git.kernel.org/pub/scm/docs/man-pages/man-pages;
};
}