pantheon.elementary-tasks: init at 6.0.3

This commit is contained in:
Bobby Rong 2021-07-20 10:34:28 +08:00
parent 9a630f47d8
commit 3da8bb4e3a
No known key found for this signature in database
GPG Key ID: ED07364437C91161
2 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,84 @@
{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, appstream
, desktop-file-utils
, meson
, ninja
, pkg-config
, python3
, vala
, wrapGAppsHook
, clutter-gtk
, elementary-icon-theme
, evolution-data-server
, granite
, geoclue2
, geocode-glib
, gtk3
, libchamplain
, libgdata
, libgee
, libhandy
, libical
}:
stdenv.mkDerivation rec {
pname = "elementary-tasks";
version = "6.0.3";
repoName = "tasks";
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "0a6zgf7di4jyl764pn78wbanm0i5vrkk5ks3cfsvi3baprf3j9d5";
};
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
nativeBuildInputs = [
appstream
desktop-file-utils
meson
ninja
pkg-config
python3
vala
wrapGAppsHook
];
buildInputs = [
clutter-gtk
elementary-icon-theme
evolution-data-server
granite
geoclue2
geocode-glib
gtk3
libchamplain
libgdata
libgee
libhandy
libical
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
meta = with lib; {
homepage = "https://github.com/elementary/tasks";
description = "Synced tasks and reminders on elementary OS";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}

View File

@ -61,6 +61,8 @@ lib.makeScope pkgs.newScope (self: with self; {
elementary-screenshot-tool = callPackage ./apps/elementary-screenshot-tool { };
elementary-tasks = callPackage ./apps/elementary-tasks { };
elementary-terminal = callPackage ./apps/elementary-terminal { };
elementary-videos = callPackage ./apps/elementary-videos { };