From 6635ce4de63f74c142ae8bb20cd398fa55c950f8 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Wed, 19 Dec 2012 02:06:27 +0000 Subject: [PATCH] distro: Add Kmod. * distro/packages/linux.scm (kmod): New variable. --- distro/packages/linux.scm | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/distro/packages/linux.scm b/distro/packages/linux.scm index 07be3ac..3431e56 100644 --- a/distro/packages/linux.scm +++ b/distro/packages/linux.scm @@ -193,4 +193,33 @@ providing the system administrator with some help in common tasks.") "Tools for working with USB devices, such as lsusb") (description "Tools for working with USB devices, such as lsusb.") - (license gpl2+))) \ No newline at end of file + (license gpl2+))) + +(define-public kmod + (package + (name "kmod") + (version "12") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kernel.org/linux/utils/kernel/kmod/kmod-" + version ".tar.xz")) + (sha256 + (base32 + "0bzrifz0qr5kd5c7wszx36hxzm8cihcbs1l59qidks51qpc9s666")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--disable-manpages") ; XXX: requires xsltproc + #:tests? #f)) ; testsuite/test-depmod fails + (inputs `(("pkg-config" ,pkg-config) + ("xz" ,guix:xz) + ("zlib" ,guix:zlib))) + (home-page + "https://www.kernel.org/pub/linux/utils/kernel/kmod/") + (synopsis + "Kmod, a set of tools for managing modules of the Linux kernel") + (description + "Kmod is a set of tools to handle common tasks with modules of the +Linux kernel (e.g., insert, remove, list, check properties, resolve +dependencies and aliases).") + (license '(gpl2+ lgpl2.1+)))) \ No newline at end of file -- 1.7.5.4