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

22 lines
599 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2015-08-10 23:29:30 +00:00
let version = "4.02"; in
stdenv.mkDerivation rec {
2015-04-20 12:46:56 +00:00
name = "man-pages-${version}";
2012-11-05 10:42:05 +00:00
src = fetchurl {
2013-03-09 00:49:53 +00:00
url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
2015-08-10 23:29:30 +00:00
sha256 = "1lqdzw6n3rqhd097lk5w16jcjhwfqs5zvi42hsbk3p92smswpaj8";
};
makeFlags = [ "MANDIR=$(out)/share/man" ];
2015-04-16 22:03:42 +00:00
meta = with stdenv.lib; {
2015-04-20 12:46:56 +00:00
inherit version;
description = "Linux development manual pages";
homepage = http://www.kernel.org/doc/man-pages/;
2014-04-03 04:56:36 +00:00
repositories.git = http://git.kernel.org/pub/scm/docs/man-pages/man-pages;
2015-04-16 22:03:42 +00:00
maintainers = with maintainers; [ nckx ];
};
}