From 4df408c8be9477dbd0af2d23dc7d2fecf8c647ed Mon Sep 17 00:00:00 2001 From: Jascha Geerds <jg@ekby.de> Date: Thu, 13 Aug 2015 22:26:44 +0200 Subject: [PATCH] gnome-calendar: init at 3.16.2 --- .../3.16/apps/gnome-calendar/default.nix | 27 +++++++++++++++++++ pkgs/desktops/gnome-3/3.16/default.nix | 4 ++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 pkgs/desktops/gnome-3/3.16/apps/gnome-calendar/default.nix diff --git a/pkgs/desktops/gnome-3/3.16/apps/gnome-calendar/default.nix b/pkgs/desktops/gnome-3/3.16/apps/gnome-calendar/default.nix new file mode 100644 index 000000000000..043cd694bd46 --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/apps/gnome-calendar/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook +, intltool, evolution_data_server, sqlite, libxml2, libsoup +, glib }: + +stdenv.mkDerivation rec { + name = "gnome-calendar-${gnome3.version}.2"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-calendar/${gnome3.version}/${name}.tar.xz"; + sha256 = "0vqwps86whf8jgq7q4hdrbnmlaxppgrfa3j7n6ddpqzkb3gf2c5m"; + }; + + NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0"; + + buildInputs = [ + pkgconfig gtk3 wrapGAppsHook intltool evolution_data_server + sqlite libxml2 libsoup glib + ]; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Calendar; + description = "Simple and beautiful calendar application for GNOME"; + maintainers = gnome3.maintainers; + license = licenses.gpl3; + platforms = platforms.linux; + }; +} diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 3f554dbac1cc..4f56077eff84 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -31,7 +31,7 @@ let gnome_terminal gnome-user-docs bijiben evolution file-roller gedit gnome-clocks gnome-music gnome-tweak-tool gnome-photos nautilus-sendto dconf-editor vinagre gnome-weather gnome-logs - gnome-maps gnome-characters + gnome-maps gnome-characters gnome-calendar ]; gamesPackages = with gnome3; [ swell-foop lightsoff iagno @@ -269,6 +269,8 @@ let spice_gtk = pkgs.spice_gtk.override { enableGTK3 = true; }; }; + gnome-calendar = callPackage ./apps/gnome-calendar { }; + gnome-characters = callPackage ./apps/gnome-characters { }; gnome-clocks = callPackage ./apps/gnome-clocks { };