2022-03-30 09:31:56 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-11-12 09:05:59 +00:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2022-03-30 09:31:56 +00:00
|
|
|
, wrapGAppsHook4
|
2020-11-12 09:05:59 +00:00
|
|
|
, libgweather
|
|
|
|
, geoclue2
|
|
|
|
, geocode-glib
|
|
|
|
, gettext
|
|
|
|
, libxml2
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2022-03-30 09:31:56 +00:00
|
|
|
, gtk4
|
2020-11-12 09:05:59 +00:00
|
|
|
, evolution-data-server
|
2022-03-30 09:31:56 +00:00
|
|
|
, libical
|
2020-11-12 09:05:59 +00:00
|
|
|
, libsoup
|
|
|
|
, glib
|
|
|
|
, gsettings-desktop-schemas
|
2022-03-30 09:31:56 +00:00
|
|
|
, libadwaita
|
2020-11-12 09:05:59 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gnome-calendar";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "42.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "tj9z9VAy/BOQRC+UzfazyrnJHHdN3S5cYez+ydLF6ao=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-11-12 09:05:59 +00:00
|
|
|
gettext
|
|
|
|
libxml2
|
2022-03-30 09:31:56 +00:00
|
|
|
wrapGAppsHook4
|
2020-11-12 09:05:59 +00:00
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2022-03-30 09:31:56 +00:00
|
|
|
gtk4
|
|
|
|
evolution-data-server # waiting for GTK4 port
|
|
|
|
libical
|
2020-11-12 09:05:59 +00:00
|
|
|
libsoup
|
|
|
|
glib
|
|
|
|
libgweather
|
|
|
|
geoclue2
|
|
|
|
geocode-glib
|
|
|
|
gsettings-desktop-schemas
|
2022-03-30 09:31:56 +00:00
|
|
|
libadwaita
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome.${pname}";
|
|
|
|
};
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Calendar";
|
|
|
|
description = "Simple and beautiful calendar application for GNOME";
|
|
|
|
maintainers = teams.gnome.members;
|
2022-03-30 09:31:56 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|