summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/3.22/core/gnome-contacts/default.nix
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2016-09-18 21:35:23 +0200
committerAlexander Ried <ried@mytum.de>2016-10-15 20:32:11 +0200
commit68eaeab4bcac7d2c5d42858b39eb8e5a70fdef6d (patch)
treeb0b131055a0b00e04d6372fbef82fdefa62f90b5 /pkgs/desktops/gnome-3/3.22/core/gnome-contacts/default.nix
parentb03d1996cd46aba7b809da6d78562d3125cd130b (diff)
downloadnixpkgs-68eaeab4bcac7d2c5d42858b39eb8e5a70fdef6d.tar
nixpkgs-68eaeab4bcac7d2c5d42858b39eb8e5a70fdef6d.tar.gz
nixpkgs-68eaeab4bcac7d2c5d42858b39eb8e5a70fdef6d.tar.bz2
nixpkgs-68eaeab4bcac7d2c5d42858b39eb8e5a70fdef6d.tar.lz
nixpkgs-68eaeab4bcac7d2c5d42858b39eb8e5a70fdef6d.tar.xz
nixpkgs-68eaeab4bcac7d2c5d42858b39eb8e5a70fdef6d.tar.zst
nixpkgs-68eaeab4bcac7d2c5d42858b39eb8e5a70fdef6d.zip
gnome3_22: init at 3.22
copied from 3.20
removed whitespaces at the end of lines
updated to 3.22 versions
removed webkitgtk24 where possible

gnome3_22.evolution: nspr include dir broken / not needed anymore
gnome3_22.gfbgraph: 0.2.2 -> 0.2.3
gnome3_22.gjs: 1.44.0 -> 1.46.0
gnome3_22.gnome-autoar: init at 0.1.1
gnome3_22.gnome-core.folks: 0.11.0 -> 0.11.2
gnome3_22.gnome-user-share 3.18.1 -> 3.18.3
gnome3_22.gnome-weather: 3.20.1 -> 3.20.2
gnome3_22.grilo: 0.3.1 -> 0.3.2
gnome3_22.grilo-plugins: 0.3.2 -> 0.3.3
gnome3_22.libgepub: init at 0.4
gnome3_22.libgweather: 3.20.1 -> 3.20.3
gnome3_22.rest: 0.7.93 -> 0.8.0
gnome3_22.totem: x86 patch is upstream
gnome3_22.tracker: 1.9.0 -> 1.10.0
Diffstat (limited to 'pkgs/desktops/gnome-3/3.22/core/gnome-contacts/default.nix')
-rw-r--r--pkgs/desktops/gnome-3/3.22/core/gnome-contacts/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-3/3.22/core/gnome-contacts/default.nix b/pkgs/desktops/gnome-3/3.22/core/gnome-contacts/default.nix
new file mode 100644
index 00000000000..8097cf32ba6
--- /dev/null
+++ b/pkgs/desktops/gnome-3/3.22/core/gnome-contacts/default.nix
@@ -0,0 +1,47 @@
+{ stdenv, intltool, fetchurl, evolution_data_server, db
+, pkgconfig, gtk3, glib, libsecret
+, libchamplain, clutter_gtk, geocode_glib
+, bash, makeWrapper, itstool, folks, libnotify, libxml2
+, gnome3, librsvg, gdk_pixbuf, file, telepathy_glib, nspr, nss
+, libsoup, vala_0_32, dbus_glib, automake115x, autoconf }:
+
+stdenv.mkDerivation rec {
+  inherit (import ./src.nix fetchurl) name src;
+
+  doCheck = true;
+
+  propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard evolution_data_server ];
+
+  # force build from vala
+  preBuild = ''
+   touch src/*.vala
+  '';
+
+  buildInputs = [ pkgconfig gtk3 glib intltool itstool evolution_data_server
+                  gnome3.gsettings_desktop_schemas makeWrapper file libnotify
+                  folks gnome3.gnome_desktop telepathy_glib libsecret dbus_glib
+                  libxml2 libsoup gnome3.gnome_online_accounts nspr nss
+                  gdk_pixbuf gnome3.defaultIconTheme librsvg
+                  libchamplain clutter_gtk geocode_glib
+                  vala_0_32 automake115x autoconf db ];
+
+  preFixup = ''
+    for f in "$out/bin/gnome-contacts" "$out/libexec/gnome-contacts-search-provider"; do
+      wrapProgram $f \
+        --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
+        --prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
+    done
+  '';
+
+  patches = [ ./gio_unix.patch ];
+
+  patchFlags = "-p0";
+
+  meta = with stdenv.lib; {
+    homepage = https://wiki.gnome.org/Apps/Contacts;
+    description = "Contacts is GNOME's integrated address book";
+    maintainers = gnome3.maintainers;
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+  };
+}