2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2020-08-20 17:08:02 +00:00
|
|
|
, nix-update-script
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2022-02-10 20:34:41 +00:00
|
|
|
, pkg-config
|
|
|
|
, python3
|
2020-04-24 23:36:52 +00:00
|
|
|
, vala
|
2022-02-10 20:34:41 +00:00
|
|
|
, wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, clutter
|
2022-02-10 20:34:41 +00:00
|
|
|
, evolution-data-server
|
2020-04-24 23:36:52 +00:00
|
|
|
, folks
|
2022-02-10 20:34:41 +00:00
|
|
|
, geoclue2
|
2020-04-24 23:36:52 +00:00
|
|
|
, geocode-glib
|
2022-02-10 20:34:41 +00:00
|
|
|
, granite
|
|
|
|
, gtk3
|
|
|
|
, libchamplain
|
|
|
|
, libgee
|
|
|
|
, libhandy
|
2020-04-24 23:36:52 +00:00
|
|
|
, libical
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "elementary-calendar";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "6.1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2022-01-23 02:10:13 +00:00
|
|
|
repo = "calendar";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-c2c8QNifBDzb0CelB72AIL4G694l6KCSXBjWIHrzZJo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
clutter
|
|
|
|
evolution-data-server
|
|
|
|
folks
|
|
|
|
geoclue2
|
|
|
|
geocode-glib
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libchamplain
|
|
|
|
libgee
|
2021-09-22 15:38:15 +00:00
|
|
|
libhandy
|
2020-04-24 23:36:52 +00:00
|
|
|
libical
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = "pantheon.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Desktop calendar app designed for elementary OS";
|
|
|
|
homepage = "https://github.com/elementary/calendar";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-09-22 15:38:15 +00:00
|
|
|
maintainers = teams.pantheon.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
mainProgram = "io.elementary.calendar";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|