mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
31 lines
1.1 KiB
Nix
31 lines
1.1 KiB
Nix
{stdenv, fetchurl, pkgconfig, alsaLib, spice_protocol, glib,
|
|
libpciaccess, libxcb, libXrandr, libXinerama, libXfixes, dbus}:
|
|
stdenv.mkDerivation rec {
|
|
name = "spice-vdagent-0.17.0";
|
|
src = fetchurl {
|
|
url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
|
|
sha256 = "0gdkyylyg1hksg0i0anvznqfli2q39335fnrmcd6847frpc8njpi";
|
|
};
|
|
postPatch = ''
|
|
substituteInPlace data/spice-vdagent.desktop --replace /usr $out
|
|
'';
|
|
buildInputs = [ pkgconfig alsaLib spice_protocol glib
|
|
libpciaccess libxcb libXrandr libXinerama libXfixes
|
|
dbus ] ;
|
|
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;
|
|
};
|
|
}
|