2023-05-24 13:37:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2023-05-24 13:37:59 +00:00
|
|
|
, desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, vala
|
2023-05-24 13:37:59 +00:00
|
|
|
, wrapGAppsHook4
|
2020-04-24 23:36:52 +00:00
|
|
|
, evolution-data-server
|
|
|
|
, glib
|
2021-04-22 02:08:21 +00:00
|
|
|
, glib-networking
|
2023-05-24 13:37:59 +00:00
|
|
|
, gtk4
|
2024-01-13 08:15:51 +00:00
|
|
|
, gtksourceview5
|
2024-04-21 15:54:59 +00:00
|
|
|
, gxml
|
2023-05-24 13:37:59 +00:00
|
|
|
, json-glib
|
|
|
|
, libadwaita
|
|
|
|
, libgee
|
|
|
|
, libical
|
2023-07-15 17:15:38 +00:00
|
|
|
, libportal-gtk4
|
2024-04-21 15:54:59 +00:00
|
|
|
, libsecret
|
2024-01-02 11:29:13 +00:00
|
|
|
, libsoup_3
|
2023-05-24 13:37:59 +00:00
|
|
|
, pantheon
|
2020-04-24 23:36:52 +00:00
|
|
|
, sqlite
|
2023-05-24 13:37:59 +00:00
|
|
|
, webkitgtk_6_0
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
pname = "planify";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "4.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alainm23";
|
2023-07-15 17:15:38 +00:00
|
|
|
repo = "planify";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-vyw8SjI8EM9giYpAsCNppgSydPEBNz2sbFahEKmKe6w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
2023-05-24 13:37:59 +00:00
|
|
|
wrapGAppsHook4
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
evolution-data-server
|
|
|
|
glib
|
2021-04-22 02:08:21 +00:00
|
|
|
glib-networking
|
2023-05-24 13:37:59 +00:00
|
|
|
gtk4
|
2024-01-13 08:15:51 +00:00
|
|
|
gtksourceview5
|
2024-04-21 15:54:59 +00:00
|
|
|
gxml
|
2020-04-24 23:36:52 +00:00
|
|
|
json-glib
|
2023-05-24 13:37:59 +00:00
|
|
|
libadwaita
|
2020-04-24 23:36:52 +00:00
|
|
|
libgee
|
|
|
|
libical
|
2023-07-15 17:15:38 +00:00
|
|
|
libportal-gtk4
|
2024-04-21 15:54:59 +00:00
|
|
|
libsecret
|
2024-01-02 11:29:13 +00:00
|
|
|
libsoup_3
|
2023-05-24 13:37:59 +00:00
|
|
|
pantheon.granite7
|
2020-04-24 23:36:52 +00:00
|
|
|
sqlite
|
2023-05-24 13:37:59 +00:00
|
|
|
webkitgtk_6_0
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dprofile=default"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-05-24 13:37:59 +00:00
|
|
|
description = "Task manager with Todoist support designed for GNU/Linux";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/alainm23/planify";
|
2023-05-24 13:37:59 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2021-09-22 15:38:15 +00:00
|
|
|
maintainers = with maintainers; [ dtzWill ] ++ teams.pantheon.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
platforms = platforms.linux;
|
2023-07-15 17:15:38 +00:00
|
|
|
mainProgram = "io.github.alainm23.planify";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|