lol
1{ stdenv, fetchurl, pkgconfig, pixman, celt, alsaLib, openssl
2, libXrandr, libXfixes, libXext, libXrender, libXinerama, libjpeg, zlib
3, spice_protocol, python, pyparsing, glib, cyrus_sasl, lz4 }:
4
5with stdenv.lib;
6
7stdenv.mkDerivation rec {
8 name = "spice-0.12.6";
9
10 src = fetchurl {
11 url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
12 sha256 = "1dk9hp78ldqb0a52kdlqq0scnk3drnhj7rsw8r7hmy2v2cqflj7i";
13 };
14
15 buildInputs = [ pixman celt alsaLib openssl libjpeg zlib
16 libXrandr libXfixes libXrender libXext libXinerama
17 python pyparsing glib cyrus_sasl lz4 ];
18
19 nativeBuildInputs = [ pkgconfig spice_protocol ];
20
21 NIX_CFLAGS_COMPILE = "-fno-stack-protector";
22
23 configureFlags = [
24 "--with-sasl"
25 "--disable-smartcard"
26 "--enable-client"
27 "--enable-lz4"
28 ];
29
30 postInstall = ''
31 ln -s spice-server $out/include/spice
32 '';
33
34 meta = {
35 description = "Complete open source solution for interaction with virtualized desktop devices";
36 longDescription = ''
37 The Spice project aims to provide a complete open source solution for interaction
38 with virtualized desktop devices.The Spice project deals with both the virtualized
39 devices and the front-end. Interaction between front-end and back-end is done using
40 VD-Interfaces. The VD-Interfaces (VDI) enable both ends of the solution to be easily
41 utilized by a third-party component.
42 '';
43 homepage = http://www.spice-space.org/;
44 license = licenses.lgpl21;
45
46 maintainers = [ maintainers.bluescreen303 ];
47 platforms = platforms.linux;
48 };
49}