2015-11-05 12:39:55 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, alsaLib, spice_protocol, glib,
|
2016-09-24 13:44:26 +02:00
|
|
|
libpciaccess, libxcb, libXrandr, libXinerama, libXfixes, dbus}:
|
2015-11-05 12:39:55 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-09-24 13:44:26 +02:00
|
|
|
name = "spice-vdagent-0.17.0";
|
2015-11-05 12:39:55 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
|
2016-09-24 13:44:26 +02:00
|
|
|
sha256 = "0gdkyylyg1hksg0i0anvznqfli2q39335fnrmcd6847frpc8njpi";
|
2015-11-05 12:39:55 +01:00
|
|
|
};
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace data/spice-vdagent.desktop --replace /usr $out
|
|
|
|
'';
|
|
|
|
buildInputs = [ pkgconfig alsaLib spice_protocol glib
|
2016-09-24 13:44:26 +02:00
|
|
|
libpciaccess libxcb libXrandr libXinerama libXfixes
|
|
|
|
dbus ] ;
|
2015-11-05 12:39:55 +01:00
|
|
|
meta = {
|
|
|
|
description = "Enhanced SPICE integration for linux QEMU guest";
|
|
|
|
longDescription = ''
|
|
|
|
Spice agent for linux guests offering
|
|
|
|
* Client mouse mode
|
|
|
|
* Copy and paste
|
|
|
|
* Automatic adjustment of the X-session resolution
|
|
|
|
to the client resolution
|
|
|
|
* Multiple displays
|
|
|
|
'';
|
|
|
|
homepage = http://www.spice-space.org/home.html;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.aboseley ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|