2021-01-15 22:18:51 +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
|
|
|
, pantheon
|
2021-09-22 15:38:15 +00:00
|
|
|
, appstream
|
|
|
|
, desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-09-22 15:38:15 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, python3
|
2021-09-22 15:38:15 +00:00
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, clutter-gtk
|
|
|
|
, elementary-icon-theme
|
|
|
|
, evolution-data-server
|
2020-04-24 23:36:52 +00:00
|
|
|
, granite
|
2021-09-22 15:38:15 +00:00
|
|
|
, geoclue2
|
|
|
|
, geocode-glib
|
|
|
|
, gtk3
|
|
|
|
, libchamplain
|
|
|
|
, libgdata
|
2020-04-24 23:36:52 +00:00
|
|
|
, libgee
|
2021-09-22 15:38:15 +00:00
|
|
|
, libhandy
|
|
|
|
, libical
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-09-22 15:38:15 +00:00
|
|
|
pname = "elementary-tasks";
|
2021-10-01 09:20:50 +00:00
|
|
|
version = "6.0.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-22 15:38:15 +00:00
|
|
|
repoName = "tasks";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = repoName;
|
|
|
|
rev = version;
|
2021-10-01 09:20:50 +00:00
|
|
|
sha256 = "1gb51gm8qgd8yzhqb7v69p2f1fgm3qf534if4lc85jrjsb8hgmhl";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2020-08-20 17:08:02 +00:00
|
|
|
updateScript = nix-update-script {
|
2020-04-24 23:36:52 +00:00
|
|
|
attrPath = "pantheon.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-09-22 15:38:15 +00:00
|
|
|
appstream
|
2020-04-24 23:36:52 +00:00
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-09-22 15:38:15 +00:00
|
|
|
clutter-gtk
|
2020-04-24 23:36:52 +00:00
|
|
|
elementary-icon-theme
|
2021-09-22 15:38:15 +00:00
|
|
|
evolution-data-server
|
2020-04-24 23:36:52 +00:00
|
|
|
granite
|
2021-09-22 15:38:15 +00:00
|
|
|
geoclue2
|
|
|
|
geocode-glib
|
2020-04-24 23:36:52 +00:00
|
|
|
gtk3
|
2021-09-22 15:38:15 +00:00
|
|
|
libchamplain
|
|
|
|
libgdata
|
2020-04-24 23:36:52 +00:00
|
|
|
libgee
|
2021-09-22 15:38:15 +00:00
|
|
|
libhandy
|
|
|
|
libical
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-09-22 15:38:15 +00:00
|
|
|
homepage = "https://github.com/elementary/tasks";
|
|
|
|
description = "Synced tasks and reminders on elementary OS";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2021-09-22 15:38:15 +00:00
|
|
|
maintainers = teams.pantheon.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|