nixpkgs/pkgs/applications/office/planify/default.nix
2024-09-23 21:09:56 +00:00

84 lines
1.4 KiB
Nix

{ stdenv
, lib
, fetchFromGitHub
, desktop-file-utils
, meson
, ninja
, pkg-config
, vala
, wrapGAppsHook4
, evolution-data-server-gtk4
, glib
, glib-networking
, gst_all_1
, 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.11.4";
src = fetchFromGitHub {
owner = "alainm23";
repo = "planify";
rev = version;
hash = "sha256-ADNMSXvfeAT53coAtCu3CVCU5XUFhLbvAH3WPFoKJVE=";
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkg-config
vala
wrapGAppsHook4
];
buildInputs = [
evolution-data-server-gtk4
glib
glib-networking
# Needed for GtkMediaStream creation with success.ogg, see #311295.
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
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; [ ] ++ teams.pantheon.members;
platforms = platforms.linux;
mainProgram = "io.github.alainm23.planify";
};
}