| 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> |
| 3 | ;;; |
| 4 | ;;; This file is part of GNU Guix. |
| 5 | ;;; |
| 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
| 7 | ;;; under the terms of the GNU General Public License as published by |
| 8 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
| 9 | ;;; your option) any later version. |
| 10 | ;;; |
| 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
| 12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ;;; GNU General Public License for more details. |
| 15 | ;;; |
| 16 | ;;; You should have received a copy of the GNU General Public License |
| 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
| 18 | |
| 19 | (define-module (gnu packages libusb) |
| 20 | #:use-module (gnu packages) |
| 21 | #:use-module (guix licenses) |
| 22 | #:use-module (guix packages) |
| 23 | #:use-module (guix download) |
| 24 | #:use-module (guix build-system gnu)) |
| 25 | |
| 26 | (define-public libusb |
| 27 | (package |
| 28 | (name "libusb") |
| 29 | (version "1.0.9") |
| 30 | (source |
| 31 | (origin |
| 32 | (method url-fetch) |
| 33 | (uri (string-append "mirror://sourceforge/libusb/libusb-1.0/" |
| 34 | "libusb-" version "/libusb-" version ".tar.bz2")) |
| 35 | (sha256 |
| 36 | (base32 |
| 37 | "16sz34ix6hw2wwl3kqx6rf26fg210iryr68wc439dc065pffw879")))) |
| 38 | (build-system gnu-build-system) |
| 39 | (home-page "http://www.libusb.org") |
| 40 | (synopsis "Libusb, a user-space USB library") |
| 41 | (description |
| 42 | "Libusb is a library that gives applications easy access to USB |
| 43 | devices on various operating systems.") |
| 44 | (license lgpl2.1+))) |