all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] distro: Add Usbutils.
@ 2012-12-17 20:39 Nikita Karetnikov
  2012-12-17 23:44 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Nikita Karetnikov @ 2012-12-17 20:39 UTC (permalink / raw)
  To: bug-guix

[-- Attachment #1: Type: text/plain, Size: 44 bytes --]

Hi,

Build succeeded. Can I commit?

Nikita

[-- Attachment #2: 0001-distro-Add-Usbutils.patch --]
[-- Type: text/x-diff, Size: 1947 bytes --]

From 7f6600ca1c7587251805c7a371eda213ead59a3a Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <nikita@karetnikov.org>
Date: Mon, 17 Dec 2012 20:29:06 +0000
Subject: [PATCH] distro: Add Usbutils.

* distro/packages/linux.scm (usbutils): New variable.
---
 distro/packages/linux.scm |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/distro/packages/linux.scm b/distro/packages/linux.scm
index 0ec1830..07be3ac 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
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] distro: Add Usbutils.
  2012-12-17 20:39 [PATCH] distro: Add Usbutils Nikita Karetnikov
@ 2012-12-17 23:44 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2012-12-17 23:44 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: bug-guix

Nikita Karetnikov <nikita.karetnikov@gmail.com> skribis:

> From 7f6600ca1c7587251805c7a371eda213ead59a3a Mon Sep 17 00:00:00 2001
> From: Nikita Karetnikov <nikita@karetnikov.org>
> Date: Mon, 17 Dec 2012 20:29:06 +0000
> Subject: [PATCH] distro: Add Usbutils.
>
> * distro/packages/linux.scm (usbutils): New variable.

Please push!

Ludo'.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-17 23:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-17 20:39 [PATCH] distro: Add Usbutils Nikita Karetnikov
2012-12-17 23:44 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.