folks: Remove unused dependencies
This commit is contained in:
parent
4db165bd2f
commit
c19e36ff21
1 changed files with 16 additions and 20 deletions
|
@ -1,28 +1,22 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, glib
|
, glib
|
||||||
, gnome
|
, gnome
|
||||||
, nspr
|
|
||||||
, gettext
|
, gettext
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, vala
|
, vala
|
||||||
, sqlite
|
, sqlite
|
||||||
, libxml2
|
|
||||||
, dbus-glib
|
, dbus-glib
|
||||||
, libsoup
|
|
||||||
, nss
|
|
||||||
, dbus
|
, dbus
|
||||||
, libgee
|
, libgee
|
||||||
, evolution-data-server-gtk4
|
, evolution-data-server-gtk4
|
||||||
, libsecret
|
|
||||||
, db
|
|
||||||
, python3
|
, python3
|
||||||
, readline
|
, readline
|
||||||
, gtk3
|
|
||||||
, gtk-doc
|
, gtk-doc
|
||||||
, docbook-xsl-nons
|
, docbook-xsl-nons
|
||||||
, docbook_xml_dtd_43
|
, docbook_xml_dtd_43
|
||||||
|
@ -43,31 +37,35 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "D/+KiWMwzYKu5FmDJPflQciE0DN1NiEnI7S+s4x1kIY=";
|
sha256 = "D/+KiWMwzYKu5FmDJPflQciE0DN1NiEnI7S+s4x1kIY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Do not check for unneeded GTK dependency.
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/folks/-/commit/686d58fb2454e5038bb951423245ed8c2d4b5cf6.patch";
|
||||||
|
sha256 = "0ydafVKhSrkHZK8bitPF5mNDTG5GrixGzBgBLNzLuXQ=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gettext
|
gettext
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gtk3
|
|
||||||
gtk-doc
|
gtk-doc
|
||||||
docbook-xsl-nons
|
docbook-xsl-nons
|
||||||
docbook_xml_dtd_43
|
docbook_xml_dtd_43
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
python3
|
|
||||||
vala
|
vala
|
||||||
|
] ++ lib.optionals telepathySupport [
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
db
|
|
||||||
dbus-glib
|
dbus-glib
|
||||||
evolution-data-server-gtk4
|
evolution-data-server-gtk4 # UI part not needed, using gtk4 version to reduce system closure.
|
||||||
libsecret
|
|
||||||
libsoup
|
|
||||||
libxml2
|
|
||||||
nspr
|
|
||||||
nss
|
|
||||||
readline
|
readline
|
||||||
] ++ lib.optional telepathySupport telepathy-glib;
|
] ++ lib.optionals telepathySupport [
|
||||||
|
telepathy-glib
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
glib
|
glib
|
||||||
|
@ -105,9 +103,7 @@ stdenv.mkDerivation rec {
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = lib.optionalString telepathySupport ''
|
||||||
chmod +x meson_post_install.py
|
|
||||||
patchShebangs meson_post_install.py
|
|
||||||
patchShebangs tests/tools/manager-file.py
|
patchShebangs tests/tools/manager-file.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue