1 {lib, stdenv, fetchurl, pkg-config, alsa-lib, spice-protocol, glib,
2 libpciaccess, libxcb, libXrandr, libXinerama, libXfixes, dbus, libdrm,
4 stdenv.mkDerivation rec {
5 pname = "spice-vdagent";
8 url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.bz2";
9 hash = "sha256-k7DRWspHYsx9N5sXmnEBFJ267WK3IRL/+ys+kLEWh6A=";
13 substituteInPlace data/spice-vdagent.desktop --replace /usr $out
15 nativeBuildInputs = [ pkg-config ];
16 buildInputs = [ alsa-lib spice-protocol glib libdrm
17 libpciaccess libxcb libXrandr libXinerama libXfixes
20 description = "Enhanced SPICE integration for linux QEMU guest";
22 Spice agent for linux guests offering
25 * Automatic adjustment of the X-session resolution
26 to the client resolution
29 homepage = "https://www.spice-space.org/";
30 license = lib.licenses.gpl3Plus;
31 maintainers = [ lib.maintainers.aboseley ];
32 platforms = lib.platforms.linux;