nixpkgs/pkgs/applications/office/elementary-planner/default.nix

64 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, fetchpatch
, meson, ninja, pkgconfig, desktop-file-utils
, python3, vala, wrapGAppsHook
, evolution-data-server
, libical
, libgee
, json-glib
, glib
, sqlite
, libsoup
, gtk3
, pantheon /* granite, icons, maintainers */
, webkitgtk
}:
stdenv.mkDerivation rec {
pname = "elementary-planner";
2020-04-01 05:07:50 +00:00
version = "2.2.14";
src = fetchFromGitHub {
owner = "alainm23";
repo = "planner";
rev = version;
2020-04-01 05:07:50 +00:00
sha256 = "14k5kiknr0d3my17p4v20iiqzifpz3y80gdzj8vdxic8yk2yr1ap";
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkgconfig
python3
vala
wrapGAppsHook
];
buildInputs = [
evolution-data-server
glib
gtk3
2020-04-01 05:07:50 +00:00
json-glib
libgee
libical
libsoup
pantheon.elementary-icon-theme
pantheon.granite
2020-04-01 05:07:50 +00:00
sqlite
webkitgtk
];
postPatch = ''
chmod +x build-aux/meson/post_install.py
patchShebangs build-aux/meson/post_install.py
'';
meta = with stdenv.lib; {
description = "Task and project manager designed to elementary OS";
homepage = "https://planner-todo.web.app";
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ] ++ pantheon.maintainers;
};
}