[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: Add libusb-compat.
From: |
Andy Wingo |
Subject: |
[PATCH] gnu: Add libusb-compat. |
Date: |
Thu, 06 Aug 2015 12:31:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Whoops, forgot this one. Should go at the beginning of the series.
>From ff7e55eee25bd1012e9c9940e9a598079efdaf06 Mon Sep 17 00:00:00 2001
From: Andy Wingo <address@hidden>
Date: Thu, 6 Aug 2015 12:22:08 +0200
Subject: [PATCH 1/5] gnu: Add libusb-compat.
* gnu/packages/libusb.scm (libusb-compat): New variable.
---
gnu/packages/libusb.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 17f71eb..665db75 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <address@hidden>
;;; Copyright © 2015 Andreas Enge <address@hidden>
+;;; Copyright © 2015 Andy Wingo <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -53,6 +54,31 @@
devices on various operating systems.")
(license lgpl2.1+)))
+(define-public libusb-compat
+ (package
+ (name "libusb-compat")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/libusb/libusb-compat-0.1/"
+ "libusb-compat-" version "/libusb-compat-" version
".tar.bz2"))
+ (sha256
+ (base32
+ "0nn5icrfm9lkhzw1xjvaks9bq3w6mjg86ggv3fn7kgi4nfvg8kj0"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libusb" ,libusb)))
+
+ (home-page "http://www.libusb.org")
+ (synopsis "Compatibility shim for libusb")
+ (description
+ "Libusb-compat provides a shim allowing applications based on older
+version of libusb to run with newer libusb.")
+ (license lgpl2.1+)))
+
(define-public libmtp
(package
(name "libmtp")
--
2.4.3
- [PATCH] gnu: Add libusb-compat.,
Andy Wingo <=