nixpkgs/pkgs/development/libraries/spice/default.nix

50 lines
1.6 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, pixman, celt, alsaLib, openssl
, libXrandr, libXfixes, libXext, libXrender, libXinerama, libjpeg, zlib
2015-10-19 00:21:13 +00:00
, spice_protocol, python, pyparsing, glib, cyrus_sasl, lz4 }:
with stdenv.lib;
stdenv.mkDerivation rec {
2016-09-24 11:35:25 +00:00
name = "spice-0.12.8";
src = fetchurl {
url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
2016-09-24 11:35:25 +00:00
sha256 = "0za03i77j8i3g5l2np2j7vy8cqsdbkm9wbv4hjnaqq9xhz2sa0gr";
};
buildInputs = [ pixman celt alsaLib openssl libjpeg zlib
libXrandr libXfixes libXrender libXext libXinerama
2015-10-19 00:21:13 +00:00
python pyparsing glib cyrus_sasl lz4 ];
nativeBuildInputs = [ pkgconfig spice_protocol ];
2012-12-05 10:54:21 +00:00
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
configureFlags = [
2015-10-19 00:21:13 +00:00
"--with-sasl"
2012-12-05 10:54:21 +00:00
"--disable-smartcard"
"--enable-client"
2015-10-19 00:21:13 +00:00
"--enable-lz4"
];
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.linux;
};
}