2019-08-05 19:02:06 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2020-07-29 17:33:39 +01:00
|
|
|
, nix-update-script
|
2019-08-05 19:02:06 +01:00
|
|
|
, pantheon
|
|
|
|
, pkgconfig
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, desktop-file-utils
|
|
|
|
, gtk3
|
|
|
|
, granite
|
|
|
|
, libgee
|
|
|
|
, geoclue2
|
|
|
|
, libchamplain
|
|
|
|
, clutter
|
|
|
|
, folks
|
|
|
|
, geocode-glib
|
|
|
|
, python3
|
|
|
|
, libnotify
|
|
|
|
, libical
|
|
|
|
, evolution-data-server
|
|
|
|
, appstream-glib
|
|
|
|
, elementary-icon-theme
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-05 23:41:32 +01:00
|
|
|
pname = "elementary-calendar";
|
2020-10-24 15:10:19 +01:00
|
|
|
version = "5.1.1";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
2019-08-05 23:41:32 +01:00
|
|
|
repoName = "calendar";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2019-08-05 23:41:32 +01:00
|
|
|
repo = repoName;
|
2019-11-26 01:43:52 +00:00
|
|
|
rev = version;
|
2020-10-24 15:10:19 +01:00
|
|
|
sha256 = "18npf4zzf2dywr1zkr6fqzcbb70297yvdp5wxw7zyam1xwa86v07";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 06:44:42 +00:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
clutter
|
|
|
|
elementary-icon-theme
|
|
|
|
evolution-data-server
|
|
|
|
folks
|
|
|
|
geoclue2
|
|
|
|
geocode-glib
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libchamplain
|
|
|
|
libgee
|
|
|
|
libical
|
|
|
|
libnotify
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|