2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-05-19 02:45:22 +00:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-05-19 02:45:22 +00:00
|
|
|
, pixman
|
2021-06-10 02:57:09 +00:00
|
|
|
, alsa-lib
|
2019-05-19 02:45:22 +00:00
|
|
|
, openssl
|
|
|
|
, libXrandr
|
|
|
|
, libXfixes
|
|
|
|
, libXext
|
|
|
|
, libXrender
|
|
|
|
, libXinerama
|
|
|
|
, libjpeg
|
|
|
|
, zlib
|
|
|
|
, spice-protocol
|
|
|
|
, python3
|
|
|
|
, glib
|
|
|
|
, cyrus_sasl
|
|
|
|
, libcacard
|
|
|
|
, lz4
|
2019-05-19 02:57:10 +00:00
|
|
|
, libopus
|
|
|
|
, gst_all_1
|
|
|
|
, orc
|
2019-05-19 02:45:22 +00:00
|
|
|
}:
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
|
2021-11-24 15:44:07 +00:00
|
|
|
let
|
|
|
|
# This file was mistakenly not included with the 0.15.0 release tarball.
|
|
|
|
# Should be fixed with the next release.
|
|
|
|
# https://gitlab.freedesktop.org/spice/spice/-/issues/56
|
|
|
|
doxygen_sh = fetchurl {
|
|
|
|
url = "https://gitlab.freedesktop.org/spice/spice/-/raw/v0.15.0/doxygen.sh";
|
|
|
|
sha256 = "0g4bx91qclihp1jfhdhyj7wp4hf4289794xxbw32kk58lnd7bzkg";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-05-19 02:45:22 +00:00
|
|
|
pname = "spice";
|
2021-06-13 10:58:07 +00:00
|
|
|
version = "0.15.0";
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-13 10:58:07 +00:00
|
|
|
url = "https://www.spice-space.org/download/releases/spice-server/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "1xd0xffw0g5vvwbq4ksmm3jjfq45f9dw20xpmi82g1fj9f7wy85k";
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
};
|
|
|
|
|
2019-05-19 02:45:22 +00:00
|
|
|
postPatch = ''
|
2021-11-24 15:44:07 +00:00
|
|
|
install ${doxygen_sh} doxygen.sh
|
2019-05-19 02:45:22 +00:00
|
|
|
patchShebangs build-aux
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-11-01 10:02:26 +00:00
|
|
|
glib
|
2019-05-19 02:45:22 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-05-19 02:45:22 +00:00
|
|
|
python3
|
|
|
|
python3.pkgs.six
|
|
|
|
python3.pkgs.pyparsing
|
|
|
|
];
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
|
2019-05-19 02:45:22 +00:00
|
|
|
buildInputs = [
|
2021-06-10 02:57:09 +00:00
|
|
|
alsa-lib
|
2019-05-19 02:45:22 +00:00
|
|
|
cyrus_sasl
|
|
|
|
glib
|
2019-05-19 02:57:10 +00:00
|
|
|
gst_all_1.gst-plugins-base
|
2019-05-19 02:45:22 +00:00
|
|
|
libXext
|
|
|
|
libXfixes
|
|
|
|
libXinerama
|
|
|
|
libXrandr
|
|
|
|
libXrender
|
|
|
|
libcacard
|
|
|
|
libjpeg
|
2019-05-19 02:57:10 +00:00
|
|
|
libopus
|
2019-05-19 02:45:22 +00:00
|
|
|
lz4
|
|
|
|
openssl
|
2019-05-19 02:57:10 +00:00
|
|
|
orc
|
2019-05-19 02:45:22 +00:00
|
|
|
pixman
|
|
|
|
python3.pkgs.pyparsing
|
2021-11-01 10:02:26 +00:00
|
|
|
spice-protocol
|
2019-05-19 02:45:22 +00:00
|
|
|
zlib
|
|
|
|
];
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
|
2012-12-05 10:54:21 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
|
2019-05-19 02:45:22 +00:00
|
|
|
mesonFlags = [
|
2019-05-19 02:57:10 +00:00
|
|
|
"-Dgstreamer=1.0"
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
ln -s spice-server $out/include/spice
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
description = "Complete open source solution for interaction with virtualized desktop devices";
|
|
|
|
longDescription = ''
|
|
|
|
The Spice project aims to provide a complete open source solution for interaction
|
|
|
|
with virtualized desktop devices.The Spice project deals with both the virtualized
|
|
|
|
devices and the front-end. Interaction between front-end and back-end is done using
|
|
|
|
VD-Interfaces. The VD-Interfaces (VDI) enable both ends of the solution to be easily
|
|
|
|
utilized by a third-party component.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.spice-space.org/";
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
|
|
|
|
maintainers = [ maintainers.bluescreen303 ];
|
2012-08-29 21:35:39 +00:00
|
|
|
platforms = platforms.linux;
|
add spice-0.10.1
spice is a next-generation remote desktop protocol, aimed at virtual
machines.
focus is not just on display/input devices, but clipboard, audio,
video, opengl, smartcards, usb devices as well, no matter if the
virtual machine runs locally or on a remote host.
not everything is implemented yet, and I didn't enable all available
features yet.
Currently, spice is able to make qemu-kvm virtual machines very usable
for workstation guests, with good 2d video support, clipboard sharing,
full resolutions, auto-mouse-grab/ungrab, xinerama / multiple guest
monitors. Good drivers for windows 7 guests are available, as well as
linux Xorg drivers / agents.
Basically, kvm was already the best-performing VM solution (using
virtio drivers), but virtualbox, while slower, had better
desktop-integration support (still wins if you want opengl). Spice
fixes this, making the choice very easy.
2012-08-27 22:47:00 +00:00
|
|
|
};
|
|
|
|
}
|