summary refs log tree commit diff
path: root/distro/packages
diff options
context:
space:
mode:
authorNikita Karetnikov <nikita@karetnikov.org>2012-12-17 20:29:06 +0000
committerNikita Karetnikov <nikita@karetnikov.org>2012-12-18 23:04:09 +0000
commit5d5c4278394a1fd0341f291e63edca0c200b90cb (patch)
tree532a134b843ed0c268cf445d5124b31ed4a24b0c /distro/packages
parent3b48f78c858a0e7fe53d7917c9bc7ef5aafc8f3e (diff)
downloadguix-5d5c4278394a1fd0341f291e63edca0c200b90cb.tar.gz
distro: Add Usbutils.
* distro/packages/linux.scm (usbutils): New variable.
Diffstat (limited to 'distro/packages')
-rw-r--r--distro/packages/linux.scm25
1 files changed, 24 insertions, 1 deletions
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 @@
   #: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 @@ providing the system administrator with some help in common tasks.")
     ;; 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