2018-02-25 03:23:58 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, alsaLib, spice-protocol, glib,
|
2017-05-25 00:33:31 +02:00
|
|
|
libpciaccess, libxcb, libXrandr, libXinerama, libXfixes, dbus,
|
|
|
|
systemd}:
|
2015-11-05 12:39:55 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-06-24 19:08:31 +02:00
|
|
|
name = "spice-vdagent-0.18.0";
|
2015-11-05 12:39:55 +01:00
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://www.spice-space.org/download/releases/${name}.tar.bz2";
|
2018-06-24 19:08:31 +02:00
|
|
|
sha256 = "1bmyvapwj1x0m6y8q0r1df2q37vsnb04qkgnnrfbnzf1qzipxvl0";
|
2015-11-05 12:39:55 +01:00
|
|
|
};
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace data/spice-vdagent.desktop --replace /usr $out
|
|
|
|
'';
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-02-25 03:23:58 +01:00
|
|
|
buildInputs = [ alsaLib spice-protocol glib
|
2016-09-24 13:44:26 +02:00
|
|
|
libpciaccess libxcb libXrandr libXinerama libXfixes
|
2017-05-25 00:33:31 +02:00
|
|
|
dbus systemd ] ;
|
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
|
|
|
|
'';
|
2018-11-25 00:01:22 +01:00
|
|
|
homepage = https://www.spice-space.org/;
|
2015-11-05 12:39:55 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.aboseley ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|