Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

59 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchurl,
pkg-config,
alsa-lib,
spice-protocol,
glib,
libpciaccess,
libxcb,
libXrandr,
libXinerama,
libXfixes,
dbus,
libdrm,
systemd,
}:
stdenv.mkDerivation rec {
pname = "spice-vdagent";
version = "0.23.0";
src = fetchurl {
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.bz2";
hash = "sha256-Y+D5vVWXxGOKz9bxDXojVPWZvZ31sx5EMnDKzwfhakA=";
};
postPatch = ''
substituteInPlace data/spice-vdagent.desktop --replace /usr $out
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [
alsa-lib
spice-protocol
glib
libdrm
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 = "https://www.spice-space.org/";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.aboseley ];
platforms = lib.platforms.linux;
};
}