2017-02-09 04:03:11 +01:00
{ stdenv , fetchurl , fetchpatch , pkgconfig , pixman , celt , alsaLib
, openssl , libXrandr , libXfixes , libXext , libXrender , libXinerama
, libjpeg , zlib , spice_protocol , python , pyparsing , glib , cyrus_sasl
, lz4 } :
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-28 00:47:00 +02:00
with stdenv . lib ;
stdenv . mkDerivation rec {
2016-09-24 13:35:25 +02:00
name = " s p i c e - 0 . 1 2 . 8 " ;
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-28 00:47:00 +02:00
src = fetchurl {
url = " h t t p : / / w w w . s p i c e - s p a c e . o r g / d o w n l o a d / r e l e a s e s / ${ name } . t a r . b z 2 " ;
2016-09-24 13:35:25 +02:00
sha256 = " 0 z a 0 3 i 7 7 j 8 i 3 g 5 l 2 n p 2 j 7 v y 8 c q s d b k m 9 w b v 4 h j n a q q 9 x h z 2 s a 0 g r " ;
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-28 00:47:00 +02:00
} ;
2017-02-09 04:03:11 +01:00
patches = [
( fetchpatch {
name = " 0 0 0 1 - P r e v e n t - p o s s i b l e - D o S - a t t e m p t s - d u r i n g - p r o t o c o l - h a n d s h . p a t c h " ;
url = " h t t p : / / p k g s . f e d o r a p r o j e c t . o r g / c g i t / r p m s / s p i c e . g i t / p l a i n / 0 0 0 1 - P r e v e n t - p o s s i b l e - D o S - a t t e m p t s - d u r i n g - p r o t o c o l - h a n d s h . p a t c h ? i d = d 9 1 9 d 6 3 9 a e 5 f 8 3 a 9 7 3 5 a 0 4 d 8 4 3 e e d 6 7 5 f 9 3 5 7 c 0 d " ;
sha256 = " 1 1 x 5 5 6 6 l x 5 z y l 7 f 3 9 g l w s g p z k x b 7 h p c s h x 8 v a 5 a b 3 i m r n s 0 7 1 3 0 q " ;
} )
( fetchpatch {
name = " 0 0 0 2 - P r e v e n t - i n t e g e r - o v e r f l o w s - i n - c a p a b i l i t y - c h e c k s . p a t c h " ;
url = " h t t p : / / p k g s . f e d o r a p r o j e c t . o r g / c g i t / r p m s / s p i c e . g i t / p l a i n / 0 0 0 2 - P r e v e n t - i n t e g e r - o v e r f l o w s - i n - c a p a b i l i t y - c h e c k s . p a t c h ? i d = d 9 1 9 d 6 3 9 a e 5 f 8 3 a 9 7 3 5 a 0 4 d 8 4 3 e e d 6 7 5 f 9 3 5 7 c 0 d " ;
sha256 = " 1 r 1 b h q 9 8 w 9 3 c v v r l r z 6 j w d f s y 2 6 1 x l 3 x q s 0 p p c h a a 2 i g y x v x v 5 z 5 " ;
} )
# Originally from http://pkgs.fedoraproject.org/cgit/rpms/spice.git/plain/0003-main-channel-Prevent-overflow-reading-messages-from-.patch?id=d919d639ae5f83a9735a04d843eed675f9357c0d
# but main-channel.c was renamed to main_channel.c
./0001-Adapting-the-following-patch-from-http-pkgs.fedorapr.patch
] ;
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-28 00:47:00 +02:00
buildInputs = [ pixman celt alsaLib openssl libjpeg zlib
libXrandr libXfixes libXrender libXext libXinerama
2015-10-19 02:21:13 +02:00
python pyparsing glib cyrus_sasl lz4 ] ;
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-28 00:47:00 +02:00
2012-12-28 19:20:09 +01:00
nativeBuildInputs = [ pkgconfig spice_protocol ] ;
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-28 00:47:00 +02:00
2012-12-05 11:54:21 +01:00
NIX_CFLAGS_COMPILE = " - f n o - s t a c k - p r o t e c t o r " ;
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-28 00:47:00 +02:00
configureFlags = [
2015-10-19 02:21:13 +02:00
" - - w i t h - s a s l "
2012-12-05 11:54:21 +01:00
" - - d i s a b l e - s m a r t c a r d "
2013-07-08 07:01:21 +02:00
" - - e n a b l e - c l i e n t "
2015-10-19 02:21:13 +02:00
" - - e n a b l e - l z 4 "
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-28 00:47:00 +02:00
] ;
postInstall = ''
ln - s spice-server $ out/include/spice
'' ;
meta = {
description = " C o m p l e t e o p e n s o u r c e s o l u t i o n f o r i n t e r a c t i o n w i t h v i r t u a l i z e d d e s k t o p d e v i c e s " ;
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 .
'' ;
homepage = http://www.spice-space.org/ ;
license = licenses . lgpl21 ;
maintainers = [ maintainers . bluescreen303 ] ;
2012-08-29 23:35:39 +02: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-28 00:47:00 +02:00
} ;
}