2017-10-04 23:50:14 +02:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook
|
2018-02-25 03:23:58 +01:00
|
|
|
, gettext, libxml2, gnome3, gtk, evolution-data-server, libsoup
|
|
|
|
, glib, gnome-online-accounts, gsettings-desktop-schemas }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext libxml2 wrapGAppsHook ];
|
2016-09-18 21:35:23 +02:00
|
|
|
buildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
gtk evolution-data-server libsoup glib gnome-online-accounts
|
|
|
|
gsettings-desktop-schemas gnome3.defaultIconTheme
|
2016-09-18 21:35:23 +02:00
|
|
|
];
|
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|