3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/virtualization/spice-vdagent/default.nix

34 lines
1.2 KiB
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, alsaLib, spice-protocol, glib,
2019-11-03 00:10:31 +00:00
libpciaccess, libxcb, libXrandr, libXinerama, libXfixes, dbus, libdrm,
systemd}:
stdenv.mkDerivation rec {
2020-03-26 01:22:02 +00:00
name = "spice-vdagent-0.20.0";
src = fetchurl {
url = "https://www.spice-space.org/download/releases/${name}.tar.bz2";
2020-03-26 01:22:02 +00:00
sha256 = "0n9k2kna2gd1zi6jv45zsp2jlv439nz5l5jjijirxqaycwi74srf";
};
2019-11-03 00:10:07 +00:00
NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ];
postPatch = ''
substituteInPlace data/spice-vdagent.desktop --replace /usr $out
'';
nativeBuildInputs = [ pkgconfig ];
2019-11-03 00:10:31 +00:00
buildInputs = [ alsaLib spice-protocol glib libdrm
2016-09-24 12:44:26 +01:00
libpciaccess libxcb libXrandr libXinerama libXfixes
dbus systemd ] ;
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
'';
2020-03-26 01:22:02 +00:00
homepage = "https://www.spice-space.org/";
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.aboseley ];
platforms = stdenv.lib.platforms.linux;
};
}