3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/module-init-tools/default.nix
Eelco Dolstra 0918b83c75 * Added the Docbook 4.1 SGML DTDs.
* Fixed the "docbook2man --sgml" command in docbook2x.
* Fixed the module-init-tools manual pages.

svn path=/nixpkgs/trunk/; revision=30165
2011-11-01 16:47:18 +00:00

28 lines
863 B
Nix

{ stdenv, fetchurl, docbook2x, docbook_sgml_dtd_41 }:
stdenv.mkDerivation rec {
name = "module-init-tools-3.16";
src = fetchurl {
url = "mirror://kernel/linux/utils/kernel/module-init-tools/${name}.tar.bz2";
sha256 = "0jxnz9ahfic79rp93l5wxcbgh4pkv85mwnjlbv1gz3jawv5cvwp1";
};
buildInputs = [ docbook2x ];
SGML_CATALOG_FILES = "${docbook_sgml_dtd_41}/sgml/dtd/docbook-4.1/docbook.cat";
patches = [ ./module-dir.patch ./docbook2man.patch ];
postInstall = "rm $out/sbin/insmod.static"; # don't need it
# We don't want bash (and therefore glibc) in the closure of the
# output, since we want to put this in a initrd.
dontPatchShebangs = stdenv ? isDietLibC;
meta = {
homepage = http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/;
description = "Tools for loading and managing Linux kernel modules";
};
}