gnome3.gnome-todo: init at 3.28.1

This commit is contained in:
Jan Tojnar 2018-08-04 11:54:43 +02:00
parent 82f80f4cfa
commit 880bc29d45
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,47 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook
, gettext, gnome3, glib, gtk, libpeas
, gnome-online-accounts, gsettings-desktop-schemas
, evolution-data-server, libxml2, libsoup, libical, rest, json-glib }:
let
pname = "gnome-todo";
version = "3.28.1";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7";
};
nativeBuildInputs = [
meson ninja pkgconfig gettext wrapGAppsHook
];
buildInputs = [
glib gtk libpeas gnome-online-accounts
gsettings-desktop-schemas gnome3.defaultIconTheme
# Plug-ins
evolution-data-server libxml2 libsoup libical
rest json-glib
];
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
description = "Personal task manager for GNOME";
homepage = https://wiki.gnome.org/Apps/Todo;
license = licenses.gpl3Plus;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}

View File

@ -30,7 +30,7 @@ lib.makeScope pkgs.newScope (self: with self; {
nautilus-sendto dconf-editor vinagre gnome-weather gnome-logs
gnome-maps gnome-characters gnome-calendar accerciser gnome-nettool
gnome-getting-started-docs gnome-packagekit gnome-software
gnome-power-manager gnome-usage
gnome-power-manager gnome-todo gnome-usage
];
gamesPackages = with gnome3; [ swell-foop lightsoff iagno
@ -291,6 +291,8 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome-sound-recorder = callPackage ./apps/gnome-sound-recorder { };
gnome-todo = callPackage ./apps/gnome-todo {};
gnome-weather = callPackage ./apps/gnome-weather { };
nautilus-sendto = callPackage ./apps/nautilus-sendto { };