aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/spice
diff options
context:
space:
mode:
authorMathijs Kwik <mathijs@bluescreen303.nl>2012-08-28 00:47:00 +0200
committerMathijs Kwik <mathijs@bluescreen303.nl>2012-08-29 22:27:39 +0200
commitcb4443ef260926290184f8952070fab45b55a6dc (patch)
treee305596624037c691f05ca067519f8ebcf5fb16d /pkgs/development/libraries/spice
parent30514a53469c206677cff3313c2edf352bd5b2c4 (diff)
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.
Diffstat (limited to 'pkgs/development/libraries/spice')
-rw-r--r--pkgs/development/libraries/spice/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/libraries/spice/default.nix b/pkgs/development/libraries/spice/default.nix
new file mode 100644
index 000000000000..f14214f5a882
--- /dev/null
+++ b/pkgs/development/libraries/spice/default.nix
@@ -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;
+ };
+}