2021-01-11 08:54:33 +01:00
|
|
|
|
{ lib, stdenv
|
2020-04-20 17:03:42 +02:00
|
|
|
|
, fetchFromGitHub
|
|
|
|
|
, meson
|
|
|
|
|
, ninja
|
|
|
|
|
, pkgconfig
|
|
|
|
|
, desktop-file-utils
|
|
|
|
|
, python3
|
|
|
|
|
, vala
|
|
|
|
|
, wrapGAppsHook
|
2020-02-03 19:14:53 +01:00
|
|
|
|
, evolution-data-server
|
|
|
|
|
, libical
|
|
|
|
|
, libgee
|
|
|
|
|
, json-glib
|
|
|
|
|
, glib
|
|
|
|
|
, sqlite
|
|
|
|
|
, libsoup
|
|
|
|
|
, gtk3
|
|
|
|
|
, pantheon /* granite, icons, maintainers */
|
|
|
|
|
, webkitgtk
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
pname = "elementary-planner";
|
2020-11-30 19:44:32 +01:00
|
|
|
|
version = "2.5.7";
|
2020-02-03 19:14:53 +01:00
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "alainm23";
|
|
|
|
|
repo = "planner";
|
|
|
|
|
rev = version;
|
2020-11-30 19:44:32 +01:00
|
|
|
|
sha256 = "0s2f9q7i31c2splflfnaiqviwnxbsp2zvibr70xafhbhnkmzlrsk";
|
2020-02-03 19:14:53 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
|
desktop-file-utils
|
|
|
|
|
meson
|
|
|
|
|
ninja
|
|
|
|
|
pkgconfig
|
|
|
|
|
python3
|
|
|
|
|
vala
|
|
|
|
|
wrapGAppsHook
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
|
evolution-data-server
|
|
|
|
|
glib
|
|
|
|
|
gtk3
|
2020-04-01 07:07:50 +02:00
|
|
|
|
json-glib
|
|
|
|
|
libgee
|
|
|
|
|
libical
|
|
|
|
|
libsoup
|
|
|
|
|
pantheon.elementary-icon-theme
|
2020-02-03 19:14:53 +01:00
|
|
|
|
pantheon.granite
|
2020-04-01 07:07:50 +02:00
|
|
|
|
sqlite
|
2020-02-03 19:14:53 +01:00
|
|
|
|
webkitgtk
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
|
chmod +x build-aux/meson/post_install.py
|
|
|
|
|
patchShebangs build-aux/meson/post_install.py
|
|
|
|
|
'';
|
|
|
|
|
|
2020-04-20 17:03:42 +02:00
|
|
|
|
preFixup = ''
|
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
|
# the theme is hardcoded
|
|
|
|
|
--prefix XDG_DATA_DIRS : "${pantheon.elementary-gtk-theme}/share"
|
|
|
|
|
)
|
|
|
|
|
'';
|
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
|
meta = with lib; {
|
2020-04-20 17:03:42 +02:00
|
|
|
|
description = "Task manager with Todoist support designed for GNU/Linux 🚀️";
|
2020-02-03 19:14:53 +01:00
|
|
|
|
homepage = "https://planner-todo.web.app";
|
|
|
|
|
license = licenses.gpl3;
|
|
|
|
|
maintainers = with maintainers; [ dtzWill ] ++ pantheon.maintainers;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|