about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-04-20 11:03:42 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2020-04-22 21:27:24 -0400
commit19c3bbfff1e6af89ae05d003922e8b1521f1b091 (patch)
tree1cb162243744cd0bb72256e7fe41d6d84ee4c380 /pkgs/applications/office
parent9409f5ba2d4d5350de161aedebd5ba0c6d3bf9f7 (diff)
downloadnixlib-19c3bbfff1e6af89ae05d003922e8b1521f1b091.tar
nixlib-19c3bbfff1e6af89ae05d003922e8b1521f1b091.tar.gz
nixlib-19c3bbfff1e6af89ae05d003922e8b1521f1b091.tar.bz2
nixlib-19c3bbfff1e6af89ae05d003922e8b1521f1b091.tar.lz
nixlib-19c3bbfff1e6af89ae05d003922e8b1521f1b091.tar.xz
nixlib-19c3bbfff1e6af89ae05d003922e8b1521f1b091.tar.zst
nixlib-19c3bbfff1e6af89ae05d003922e8b1521f1b091.zip
elementary-planner: cleanup
* add elementary theme
The program forces this theme to be used
* update description
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/elementary-planner/default.nix21
1 files changed, 17 insertions, 4 deletions
diff --git a/pkgs/applications/office/elementary-planner/default.nix b/pkgs/applications/office/elementary-planner/default.nix
index b01c34d5a0ed..0f5ec6137d61 100644
--- a/pkgs/applications/office/elementary-planner/default.nix
+++ b/pkgs/applications/office/elementary-planner/default.nix
@@ -1,6 +1,12 @@
-{ stdenv, fetchFromGitHub, fetchpatch
-, meson, ninja, pkgconfig, desktop-file-utils
-, python3, vala, wrapGAppsHook
+{ stdenv
+, fetchFromGitHub
+, meson
+, ninja
+, pkgconfig
+, desktop-file-utils
+, python3
+, vala
+, wrapGAppsHook
 , evolution-data-server
 , libical
 , libgee
@@ -63,8 +69,15 @@ stdenv.mkDerivation rec {
     patchShebangs build-aux/meson/post_install.py
   '';
 
+  preFixup = ''
+    gappsWrapperArgs+=(
+      # the theme is hardcoded
+      --prefix XDG_DATA_DIRS : "${pantheon.elementary-gtk-theme}/share"
+    )
+  '';
+
   meta = with stdenv.lib; {
-    description = "Task and project manager designed to elementary OS";
+    description = "Task manager with Todoist support designed for GNU/Linux 🚀️";
     homepage = "https://planner-todo.web.app";
     license = licenses.gpl3;
     maintainers = with maintainers; [ dtzWill ] ++ pantheon.maintainers;