1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 nix-update-script,
6 meson,
7 ninja,
8 pkg-config,
9 vala,
10 wrapGAppsHook3,
11 clutter-gtk,
12 evolution-data-server,
13 granite,
14 geoclue2,
15 geocode-glib_2,
16 gtk3,
17 libchamplain_libsoup3,
18 libgee,
19 libhandy,
20 libical,
21 libportal-gtk3,
22}:
23
24stdenv.mkDerivation rec {
25 pname = "elementary-tasks";
26 version = "6.3.3";
27
28 src = fetchFromGitHub {
29 owner = "elementary";
30 repo = "tasks";
31 rev = version;
32 hash = "sha256-xOMS4Zwfl7TLHvm8Zn6wQ4ZoMg+Yuci+cTpUVG+liss=";
33 };
34
35 nativeBuildInputs = [
36 meson
37 ninja
38 pkg-config
39 vala
40 wrapGAppsHook3
41 ];
42
43 buildInputs = [
44 clutter-gtk
45 evolution-data-server
46 granite
47 geoclue2
48 geocode-glib_2
49 gtk3
50 libchamplain_libsoup3
51 libgee
52 libhandy
53 libical
54 libportal-gtk3
55 ];
56
57 passthru = {
58 updateScript = nix-update-script { };
59 };
60
61 meta = with lib; {
62 homepage = "https://github.com/elementary/tasks";
63 description = "Synced tasks and reminders on elementary OS";
64 license = licenses.gpl3Plus;
65 platforms = platforms.linux;
66 teams = [ teams.pantheon ];
67 mainProgram = "io.elementary.tasks";
68 };
69}