2018-09-03 21:01:24 +01:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook, libdazzle, libgweather, geoclue2, geocode-glib, python3
|
2019-02-13 21:47:50 +00:00
|
|
|
, gettext, libxml2, gnome3, gtk3, evolution-data-server, libsoup
|
2018-02-25 02:23:58 +00:00
|
|
|
, glib, gnome-online-accounts, gsettings-desktop-schemas }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-14 00:40:07 +00:00
|
|
|
let
|
|
|
|
pname = "gnome-calendar";
|
2019-03-03 18:38:02 +00:00
|
|
|
version = "3.32.0";
|
2018-03-14 00:40:07 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-03 18:38:02 +00:00
|
|
|
sha256 = "0fyy1slcvc32nz37clps7lz3w40i30fj93fc5m0rqk664w682ys4";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2018-03-14 00:40:07 +00:00
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-09-03 21:01:24 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext libxml2 wrapGAppsHook python3 ];
|
2016-09-18 20:35:23 +01:00
|
|
|
buildInputs = [
|
2019-02-13 21:47:50 +00:00
|
|
|
gtk3 evolution-data-server libsoup glib gnome-online-accounts libdazzle libgweather geoclue2 geocode-glib
|
|
|
|
gsettings-desktop-schemas gnome3.adwaita-icon-theme
|
2016-09-18 20:35:23 +01:00
|
|
|
];
|
|
|
|
|
2017-10-04 22:50:14 +01:00
|
|
|
postPatch = ''
|
2018-09-05 01:45:34 +01:00
|
|
|
chmod +x build-aux/meson/meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs build-aux/meson/meson_post_install.py
|
2017-10-04 22:50:14 +01:00
|
|
|
'';
|
|
|
|
|
2016-09-18 20:35:23 +01: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;
|
|
|
|
};
|
|
|
|
}
|