(define-module (gnu packages spice) #:use-module (gnu packages) #:use-module (gnu packages gl) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils)) (define-public usbredir (package (name "usbredir") (version "0.7.1") (source (origin (method url-fetch) (uri (string-append "http://spice-space.org/download/usbredir/" "usbredir-" version ".tar.bz2")) (sha256 (base32 "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0")))) (build-system gnu-build-system) (propagated-inputs `(("libusb" ,libusb))) (native-inputs `(("pkg-config" ,pkg-config))) (synopsis "Libraries to help implementing support for usbredir") (description "Usbredir is a protocol for redirection USB traffic from a single USB device, to a different (virtual) machine then the one to which the USB device is attached.") (home-page "http://www.spice-space.org") (license license:gpl2))) (define-public virglrenderer (package (name "virglrenderer") (version "0.5.0") (source (origin (method url-fetch) (uri (string-append "https://www.freedesktop.org/software/virgl/" "virglrenderer-" version ".tar.bz2")) (sha256 (base32 "1dj0j8nbyr7nrpds4dqlp43ji8ixjyqhgw6ywlz1r9dn6cs5m5d1")))) (build-system gnu-build-system) (inputs `(("libepoxy" ,libepoxy) ("mesa" ,mesa) ("udev" ,eudev))) (native-inputs `(("pkg-config" ,pkg-config))) (synopsis "Virtual 3D GPU library") (description "A virtual 3D GPU library, that allows the guest operating system to use the host GPU to accelerate 3D rendering") (home-page "https://virgil3d.github.io") (license license:expat)))