mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
593ab50d69
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/spice-vdagent/versions. These checks were done: - built on NixOS - /nix/store/jn5icaw3pkbvyh2j34lqnx8w1ikqj7k2-spice-vdagent-0.18.0/bin/spice-vdagent passed the binary check. - /nix/store/jn5icaw3pkbvyh2j34lqnx8w1ikqj7k2-spice-vdagent-0.18.0/bin/spice-vdagentd passed the binary check. - 2 of 2 passed binary check by having a zero exit code. - 0 of 2 passed binary check by having the new version present in output. - found 0.18.0 with grep in /nix/store/jn5icaw3pkbvyh2j34lqnx8w1ikqj7k2-spice-vdagent-0.18.0 - directory tree listing: https://gist.github.com/b66bf12f870f109e97e063ee890be440 - du listing: https://gist.github.com/6bd67c42fafb9c4b45a004edcf1807fb
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{stdenv, fetchurl, pkgconfig, alsaLib, spice-protocol, glib,
|
|
libpciaccess, libxcb, libXrandr, libXinerama, libXfixes, dbus,
|
|
systemd}:
|
|
stdenv.mkDerivation rec {
|
|
name = "spice-vdagent-0.18.0";
|
|
src = fetchurl {
|
|
url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
|
|
sha256 = "1bmyvapwj1x0m6y8q0r1df2q37vsnb04qkgnnrfbnzf1qzipxvl0";
|
|
};
|
|
postPatch = ''
|
|
substituteInPlace data/spice-vdagent.desktop --replace /usr $out
|
|
'';
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ alsaLib spice-protocol glib
|
|
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
|
|
'';
|
|
homepage = http://www.spice-space.org/home.html;
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = [ stdenv.lib.maintainers.aboseley ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|