gnu: Add usbredir.
[jackhill/guix/guix.git] / gnu / packages / spice.scm
CommitLineData
1d2c67c1
DC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 David Craven <david@craven.ch>
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 spice)
20 #:use-module (gnu packages)
21 #:use-module (gnu packages libusb)
22 #:use-module (gnu packages pkg-config)
23 #:use-module (guix build-system gnu)
24 #:use-module (guix download)
25 #:use-module (guix packages)
26 #:use-module ((guix licenses) #:prefix license:)
27 #:use-module (guix utils))
28
29(define-public usbredir
30 (package
31 (name "usbredir")
32 (version "0.7.1")
33 (source (origin
34 (method url-fetch)
35 (uri (string-append
36 "http://spice-space.org/download/usbredir/"
37 "usbredir-" version ".tar.bz2"))
38 (sha256
39 (base32
40 "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0"))))
41 (build-system gnu-build-system)
42 (inputs
43 `(("libusb" ,libusb)))
44 (native-inputs
45 `(("pkg-config" ,pkg-config)))
46 (synopsis "Tools for sending USB device traffic over a network")
47 (description "Usbredir is a network protocol for sending USB device traffic
48over a network connection. It can be used to redirect traffic from a USB device
49to a different (virtual) machine than the one to which the USB device is
50attached.")
51 (home-page "http://www.spice-space.org")
52 (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))