add spice-0.10.1

spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.

not everything is implemented yet, and I didn't enable all available
features yet.

Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.

Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
This commit is contained in:
Mathijs Kwik 2012-08-28 00:47:00 +02:00
parent 30514a5346
commit cb4443ef26
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ stdenv, fetchurl, pkgconfig, pixman, celt, alsaLib, openssl
, libXrandr, libXfixes, libXext, libXrender, libXinerama, libjpeg, zlib
, spiceProtocol }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "spice-0.10.1";
src = fetchurl {
url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
sha256 = "105p5fh6hhhzvz0fh1x52lzi41rpvajf390xbbw3da4417lf5pqk";
};
buildInputs = [ pixman celt alsaLib openssl libjpeg zlib
libXrandr libXfixes libXrender libXext libXinerama
];
buildNativeInputs = [ pkgconfig spiceProtocol ];
# NIX_CFLAGS_COMPILE = "-fno-stack-protector";
configureFlags = [
"--with-sasl=no"
];
postInstall = ''
ln -s spice-server $out/include/spice
'';
meta = {
description = "Complete open source solution for interaction with virtualized desktop devices";
longDescription = ''
The Spice project aims to provide a complete open source solution for interaction
with virtualized desktop devices.The Spice project deals with both the virtualized
devices and the front-end. Interaction between front-end and back-end is done using
VD-Interfaces. The VD-Interfaces (VDI) enable both ends of the solution to be easily
utilized by a third-party component.
'';
homepage = http://www.spice-space.org/;
license = licenses.lgpl21;
maintainers = [ maintainers.bluescreen303 ];
platforms = platforms.all;
};
}

View File

@ -4795,6 +4795,11 @@ let
sphinxbase = callPackage ../development/libraries/sphinxbase { };
spice = callPackage ../development/libraries/spice {
celt = celt_0_5_1;
inherit (xlibs) libXrandr libXfixes libXext libXrender libXinerama;
};
spiceProtocol = callPackage ../development/libraries/spice-protocol { };
sratom = callPackage ../development/libraries/audio/sratom { };