From 5d5c4278394a1fd0341f291e63edca0c200b90cb Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Mon, 17 Dec 2012 20:29:06 +0000 Subject: distro: Add Usbutils. * distro/packages/linux.scm (usbutils): New variable. --- distro/packages/linux.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'distro') diff --git a/distro/packages/linux.scm b/distro/packages/linux.scm index 0ec18300fc..07be3ac6b4 100644 --- a/distro/packages/linux.scm +++ b/distro/packages/linux.scm @@ -22,9 +22,10 @@ (define-module (distro packages linux) #:use-module ((distro packages compression) #:renamer (symbol-prefix-proc 'guix:)) #:use-module (distro packages flex) + #:use-module (distro packages libusb) #:use-module (distro packages ncurses) #:use-module (distro packages perl) - #:use-module (distro packages ncurses) + #:use-module (distro packages pkg-config) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) @@ -171,3 +172,25 @@ (define-public util-linux ;; explicitly defined license. (license '(gpl3+ gpl2+ gpl2 lgpl2.0+ bsd-4 public-domain)))) + +(define-public usbutils + (package + (name "usbutils") + (version "006") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/" + "usbutils-" version ".tar.xz")) + (sha256 + (base32 + "03pd57vv8c6x0hgjqcbrxnzi14h8hcghmapg89p8k5zpwpkvbdfr")))) + (build-system gnu-build-system) + (inputs + `(("libusb" ,libusb) ("pkg-config" ,pkg-config))) + (home-page "http://www.linux-usb.org/") + (synopsis + "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 -- cgit v1.2.3