gnome3.vino: clean up

This commit is contained in:
Jan Tojnar 2018-03-20 20:47:49 +01:00
parent 6c5848a008
commit 04325dfe79
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,11 +1,8 @@
{ stdenv, fetchurl, lib, wrapGAppsHook
, pkgconfig, gnome3, gtk3, glib, intltool, libXtst, libnotify, libsoup
, telepathySupport ? false, dbus-glib ? null, telepathy-glib ? null
, libsecret ? null, gnutls ? null, libgcrypt ? null, avahi ? null
, zlib ? null, libjpeg ? null
, libXdamage ? null, libXfixes ? null, libXext ? null
, gnomeKeyringSupport ? false, libgnome-keyring3 ? null
, networkmanager ? null }:
, libsecret, gnutls, libgcrypt, avahi, zlib, libjpeg, libXdamage, libXfixes, libXext
, networkmanager }:
with lib;
@ -18,28 +15,25 @@ stdenv.mkDerivation rec {
sha256 = "2911c779b6a2c46e5bc8e5a0c94c2a4d5bd4a1ee7e35f2818702cb13d9d23bab";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "vino"; attrPath = "gnome3.vino"; };
};
doCheck = true;
buildInputs = [
wrapGAppsHook
pkgconfig gnome3.defaultIconTheme gtk3 glib intltool libXtst libnotify libsoup
] ++ optionals telepathySupport [ dbus-glib telepathy-glib ]
++ optional gnomeKeyringSupport libgnome-keyring3
++ filter (p: p != null) [
libsecret gnutls libgcrypt avahi zlib libjpeg
libXdamage libXfixes libXext networkmanager
];
nativeBuildInputs = [ intltool wrapGAppsHook pkgconfig ];
preFixup = ''
export GSETTINGS_SCHEMAS_PATH="$out/share/gsettings-schemas/${name}:$GSETTINGS_SCHEMAS_PATH"
'';
buildInputs = [
gnome3.defaultIconTheme gtk3 glib libXtst libnotify libsoup
libsecret gnutls libgcrypt avahi zlib libjpeg
libXdamage libXfixes libXext networkmanager
] ++ optionals telepathySupport [ dbus-glib telepathy-glib ];
passthru = {
updateScript = gnome3.updateScript {
packageName = "vino";
attrPath = "gnome3.vino";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/action/show/Projects/Vino;
homepage = https://wiki.gnome.org/Projects/Vino;
description = "GNOME desktop sharing server";
maintainers = with maintainers; [ lethalman domenkozar ];
license = licenses.gpl2;