Update license headers.
[jackhill/guix/guix.git] / distro / packages / libusb.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
3b48f78c 3;;;
233e7676 4;;; This file is part of GNU Guix.
3b48f78c 5;;;
233e7676 6;;; GNU Guix is free software; you can redistribute it and/or modify it
3b48f78c
NK
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;;;
233e7676 11;;; GNU Guix is distributed in the hope that it will be useful, but
3b48f78c
NK
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
233e7676 17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
3b48f78c
NK
18
19(define-module (distro packages libusb)
20 #:use-module (distro)
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
43devices on various operating systems.")
44 (license lgpl2.1+)))