2021-11-26 08:51:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-08-05 19:02:06 +01:00
|
|
|
, fetchFromGitHub
|
2020-07-29 17:33:39 +01:00
|
|
|
, nix-update-script
|
2022-01-30 08:06:59 +00:00
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
2019-08-05 19:02:06 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
2022-01-30 08:06:59 +00:00
|
|
|
, pkg-config
|
|
|
|
, python3
|
2019-08-05 19:02:06 +01:00
|
|
|
, vala
|
2022-01-30 08:06:59 +00:00
|
|
|
, wrapGAppsHook
|
2019-08-05 19:02:06 +01:00
|
|
|
, clutter
|
2022-01-30 08:06:59 +00:00
|
|
|
, evolution-data-server
|
2019-08-05 19:02:06 +01:00
|
|
|
, folks
|
2022-01-30 08:06:59 +00:00
|
|
|
, geoclue2
|
2019-08-05 19:02:06 +01:00
|
|
|
, geocode-glib
|
2022-01-30 08:06:59 +00:00
|
|
|
, granite
|
|
|
|
, gtk3
|
|
|
|
, libchamplain
|
|
|
|
, libgee
|
|
|
|
, libhandy
|
2019-08-05 19:02:06 +01:00
|
|
|
, libical
|
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-05 23:41:32 +01:00
|
|
|
pname = "elementary-calendar";
|
2022-01-22 01:26:28 +00:00
|
|
|
version = "6.1.0";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2022-01-22 01:26:28 +00:00
|
|
|
repo = "calendar";
|
2019-11-26 01:43:52 +00:00
|
|
|
rev = version;
|
2022-01-22 01:26:28 +00:00
|
|
|
sha256 = "sha256-LaVJ7QLc0UdSLgLIuHP4Anc7kPUelZW9PnIWuqKGtEQ=";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2018-08-20 21:31:18 +01:00
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
clutter
|
|
|
|
evolution-data-server
|
|
|
|
folks
|
|
|
|
geoclue2
|
|
|
|
geocode-glib
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libchamplain
|
|
|
|
libgee
|
2021-07-21 05:08:30 +01:00
|
|
|
libhandy
|
2018-08-20 21:31:18 +01:00
|
|
|
libical
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-10-27 02:48:02 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = "pantheon.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-20 21:31:18 +01:00
|
|
|
description = "Desktop calendar app designed for elementary OS";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/elementary/calendar";
|
2018-08-20 21:31:18 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-09-18 16:00:51 +01:00
|
|
|
maintainers = teams.pantheon.members;
|
2021-10-28 03:47:36 +01:00
|
|
|
mainProgram = "io.elementary.calendar";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
}
|