From 5b83791207d1521dde3a6f7f4f70d730571668a4 Mon Sep 17 00:00:00 2001 From: Adam Boseley Date: Thu, 5 Nov 2015 21:39:55 +1000 Subject: spice-vdagentd service : initial at 0.16.0 --- .../virtualization/spice-vdagent/default.nix | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/applications/virtualization/spice-vdagent/default.nix (limited to 'pkgs/applications/virtualization') diff --git a/pkgs/applications/virtualization/spice-vdagent/default.nix b/pkgs/applications/virtualization/spice-vdagent/default.nix new file mode 100644 index 000000000000..add5f96e7f59 --- /dev/null +++ b/pkgs/applications/virtualization/spice-vdagent/default.nix @@ -0,0 +1,29 @@ +{stdenv, fetchurl, pkgconfig, alsaLib, spice_protocol, glib, + libpciaccess, libxcb, libXrandr, libXinerama, libXfixes}: +stdenv.mkDerivation rec { + name = "spice-vdagent-0.16.0"; + src = fetchurl { + url = "http://www.spice-space.org/download/releases/${name}.tar.bz2"; + sha256 = "0z8gwc5va2i64mjippavmxajdb9az83ffqyhlbynm6dxw131d5av"; + }; + postPatch = '' + substituteInPlace data/spice-vdagent.desktop --replace /usr $out + ''; + buildInputs = [ pkgconfig alsaLib spice_protocol glib + libpciaccess libxcb libXrandr libXinerama libXfixes ] ; + 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; + }; +} -- cgit 1.4.1