79 lines
1.3 KiB
Nix
79 lines
1.3 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, desktop-file-utils
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, vala
|
|
, wrapGAppsHook4
|
|
, evolution-data-server
|
|
, glib
|
|
, glib-networking
|
|
, gtk4
|
|
, gtksourceview5
|
|
, gxml
|
|
, json-glib
|
|
, libadwaita
|
|
, libgee
|
|
, libical
|
|
, libportal-gtk4
|
|
, libsecret
|
|
, libsoup_3
|
|
, pantheon
|
|
, sqlite
|
|
, webkitgtk_6_0
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "planify";
|
|
version = "4.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alainm23";
|
|
repo = "planify";
|
|
rev = version;
|
|
hash = "sha256-vyw8SjI8EM9giYpAsCNppgSydPEBNz2sbFahEKmKe6w=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
evolution-data-server
|
|
glib
|
|
glib-networking
|
|
gtk4
|
|
gtksourceview5
|
|
gxml
|
|
json-glib
|
|
libadwaita
|
|
libgee
|
|
libical
|
|
libportal-gtk4
|
|
libsecret
|
|
libsoup_3
|
|
pantheon.granite7
|
|
sqlite
|
|
webkitgtk_6_0
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dprofile=default"
|
|
];
|
|
|
|
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 = "io.github.alainm23.planify";
|
|
};
|
|
}
|