gnomeExtensions.gsconnect: Clean up

* Caribou dependency was removed in v27 (fd1a771ef4)
* Atspi is optional since then, when Mutter is built with Pipewire support.
* Nautilus stuff does not actually seem to be used directly, the Python script will be eventually loaded by nautilus-python.
* UPower is used through D-Bus now (c53491f97d)
* xmllint does not seem to be used (maybe it was used for building GResource in the past)
* use pkg-config instead of alias
This commit is contained in:
Jan Tojnar 2020-10-18 01:03:02 +02:00
parent 0703985bef
commit 9c33a3ff21
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,19 +1,15 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, substituteAll , substituteAll
, python3
, openssl , openssl
, gsound , gsound
, meson , meson
, ninja , ninja
, libxml2 , pkg-config
, pkgconfig
, gobject-introspection , gobject-introspection
, wrapGAppsHook , wrapGAppsHook
, glib , glib
, gtk3 , gtk3
, at-spi2-core
, upower
, openssh , openssh
, gnome3 , gnome3
, gjs , gjs
@ -50,21 +46,17 @@ stdenv.mkDerivation rec {
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
meson ninja pkgconfig meson
ninja
pkg-config
gobject-introspection # for locating typelibs gobject-introspection # for locating typelibs
wrapGAppsHook # for wrapping daemons wrapGAppsHook # for wrapping daemons
libxml2 # xmllint
]; ];
buildInputs = [ buildInputs = [
glib # libgobject glib # libgobject
gtk3 gtk3
at-spi2-core # atspi
gnome3.nautilus # TODO: this contaminates the package with nautilus and gnome-autoar typelibs but it is only needed for the extension
gnome3.nautilus-python
gsound gsound
upower
gnome3.caribou
gjs # for running daemon gjs # for running daemon
gnome3.evolution-data-server # for libebook-contacts typelib gnome3.evolution-data-server # for libebook-contacts typelib
]; ];