diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-06-24 10:30:08 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2023-06-24 11:42:03 +0800 |
commit | b721d2721487613940b2ac1f676360ba65d6dc2f (patch) | |
tree | 915d08c3462372357da37ae26223b5b6f580658e /pkgs/applications/office/planify | |
parent | 50c30faaebe12770637e0a1c01e8e5a7f69960f6 (diff) |
planify: renamed from elementary-planner
A throw is used instead of alias because this corresponds to a very breaking upstream change and I don't see automatic data migration right now.
Diffstat (limited to 'pkgs/applications/office/planify')
-rw-r--r-- | pkgs/applications/office/planify/default.nix | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/pkgs/applications/office/planify/default.nix b/pkgs/applications/office/planify/default.nix new file mode 100644 index 0000000000000..3bcbe78199443 --- /dev/null +++ b/pkgs/applications/office/planify/default.nix @@ -0,0 +1,78 @@ +{ stdenv +, lib +, fetchFromGitHub +, desktop-file-utils +, meson +, ninja +, pkg-config +, python3 +, vala +, wrapGAppsHook4 +, evolution-data-server +, glib +, glib-networking +, gtk4 +, json-glib +, libadwaita +, libgee +, libical +, pantheon +, sqlite +, webkitgtk_6_0 +}: + +stdenv.mkDerivation rec { + pname = "planify"; + version = "unstable-2023-04-20"; + + src = fetchFromGitHub { + owner = "alainm23"; + repo = "planify"; + rev = "97c0f1c30d087e2ac459241bfdb9b606a12a77ce"; + sha256 = "sha256-W4Hfa9zgKpGKfd7QSTLF2FT0vSJ5mQMV+W9WWltZlL4="; + }; + + nativeBuildInputs = [ + desktop-file-utils + meson + ninja + pkg-config + python3 + vala + wrapGAppsHook4 + ]; + + buildInputs = [ + evolution-data-server + glib + glib-networking + gtk4 + json-glib + libadwaita + libgee + libical + pantheon.granite7 + sqlite + webkitgtk_6_0 + ]; + + mesonFlags = [ + "-Dproduction=true" + ]; + + postPatch = '' + chmod +x build-aux/meson/post_install.py + patchShebangs build-aux/meson/post_install.py + substituteInPlace build-aux/meson/post_install.py \ + --replace "gtk-update-icon-cache" "gtk4-update-icon-cache" + ''; + + meta = with lib; { + description = "Task manager with Todoist support designed for GNU/Linux"; + homepage = "https://github.com/alainm23/planify"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ dtzWill ] ++ teams.pantheon.members; + platforms = platforms.linux; + mainProgram = "com.github.alainm23.task-planner"; + }; +} |