From ff7e55eee25bd1012e9c9940e9a598079efdaf06 Mon Sep 17 00:00:00 2001 From: Andy Wingo 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 ;;; Copyright © 2015 Andreas Enge +;;; Copyright © 2015 Andy Wingo ;;; ;;; 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