2017-05-18 07:56:01 +02:00
|
|
|
{ stdenv, fetchurl, lib, wrapGAppsHook
|
2016-09-18 21:35:23 +02:00
|
|
|
, pkgconfig, gnome3, gtk3, glib, intltool, libXtst, libnotify, libsoup
|
2018-02-25 03:23:58 +01:00
|
|
|
, telepathySupport ? false, dbus-glib ? null, telepathy-glib ? null
|
2016-09-18 21:35:23 +02:00
|
|
|
, libsecret ? null, gnutls ? null, libgcrypt ? null, avahi ? null
|
|
|
|
, zlib ? null, libjpeg ? null
|
|
|
|
, libXdamage ? null, libXfixes ? null, libXext ? null
|
2018-02-25 03:23:58 +01:00
|
|
|
, gnomeKeyringSupport ? false, libgnome-keyring3 ? null
|
2016-09-18 21:35:23 +02:00
|
|
|
, networkmanager ? null }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
buildInputs = [
|
2017-05-18 07:56:01 +02:00
|
|
|
wrapGAppsHook
|
2016-09-18 21:35:23 +02:00
|
|
|
pkgconfig gnome3.defaultIconTheme gtk3 glib intltool libXtst libnotify libsoup
|
2018-02-25 03:23:58 +01:00
|
|
|
] ++ optionals telepathySupport [ dbus-glib telepathy-glib ]
|
|
|
|
++ optional gnomeKeyringSupport libgnome-keyring3
|
2016-09-18 21:35:23 +02:00
|
|
|
++ filter (p: p != null) [
|
|
|
|
libsecret gnutls libgcrypt avahi zlib libjpeg
|
|
|
|
libXdamage libXfixes libXext networkmanager
|
|
|
|
];
|
|
|
|
|
|
|
|
preFixup = ''
|
2017-05-18 07:56:01 +02:00
|
|
|
export GSETTINGS_SCHEMAS_PATH="$out/share/gsettings-schemas/${name}:$GSETTINGS_SCHEMAS_PATH"
|
2016-09-18 21:35:23 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/action/show/Projects/Vino;
|
|
|
|
description = "GNOME desktop sharing server";
|
|
|
|
maintainers = with maintainers; [ lethalman domenkozar ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|