nixpkgs/pkgs/development/libraries/spice/default.nix

99 lines
1.9 KiB
Nix
Raw Normal View History

{ lib, stdenv
2019-05-19 03:45:22 +01:00
, fetchurl
, meson
, ninja
, pkg-config
2019-05-19 03:45:22 +01:00
, pixman
, alsa-lib
2019-05-19 03:45:22 +01:00
, openssl
, libXrandr
, libXfixes
, libXext
, libXrender
, libXinerama
, libjpeg
, zlib
, spice-protocol
, python3
, glib
, cyrus_sasl
, libcacard
, lz4
, libopus
, gst_all_1
, orc
2019-05-19 03:45:22 +01:00
}:
stdenv.mkDerivation rec {
2019-05-19 03:45:22 +01:00
pname = "spice";
version = "0.15.0";
src = fetchurl {
url = "https://www.spice-space.org/download/releases/spice-server/${pname}-${version}.tar.bz2";
sha256 = "1xd0xffw0g5vvwbq4ksmm3jjfq45f9dw20xpmi82g1fj9f7wy85k";
};
2019-05-19 03:45:22 +01:00
postPatch = ''
patchShebangs build-aux
'';
nativeBuildInputs = [
meson
ninja
pkg-config
2019-05-19 03:45:22 +01:00
spice-protocol
python3
python3.pkgs.six
python3.pkgs.pyparsing
];
2019-05-19 03:45:22 +01:00
buildInputs = [
alsa-lib
2019-05-19 03:45:22 +01:00
cyrus_sasl
glib
gst_all_1.gst-plugins-base
2019-05-19 03:45:22 +01:00
libXext
libXfixes
libXinerama
libXrandr
libXrender
libcacard
libjpeg
libopus
2019-05-19 03:45:22 +01:00
lz4
openssl
orc
2019-05-19 03:45:22 +01:00
pixman
python3.pkgs.pyparsing
zlib
];
2012-12-05 10:54:21 +00:00
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
2019-05-19 03:45:22 +01:00
mesonFlags = [
"-Dgstreamer=1.0"
"-Dcelt051=disabled"
];
postInstall = ''
ln -s spice-server $out/include/spice
'';
meta = with lib; {
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.
'';
homepage = "https://www.spice-space.org/";
license = licenses.lgpl21;
maintainers = [ maintainers.bluescreen303 ];
platforms = platforms.linux;
};
}