git.iko.soy/typeable/nixpkgs
on master help sign in
gnome3.gnome-todo: init at 3.28.1
commit880bc29d45bb9297110fe1fbbd80c807f53af2a1 authorJan Tojnar <jtojnar@gmail.com> dateSat 4 Aug 2018, 11:54 (8 years ago) parent82f80f4
2 files changed+50−1
pkgs/desktops/gnome-3/apps/gnome-todo/default.nix+47 pkgs/desktops/gnome-3/default.nix+3−1
pkgs/desktops/gnome-3/apps/gnome-todo/default.nixnew file+47
@@ -0,0 +1,47 @@
1+{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook
2+, gettext, gnome3, glib, gtk, libpeas
3+, gnome-online-accounts, gsettings-desktop-schemas
4+, evolution-data-server, libxml2, libsoup, libical, rest, json-glib }:
5+
6+let
7+ pname = "gnome-todo";
8+ version = "3.28.1";
9+in stdenv.mkDerivation rec {
10+ name = "${pname}-${version}";
11+
12+ src = fetchurl {
13+ url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
14+ sha256 = "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7";
15+ };
16+
17+ nativeBuildInputs = [
18+ meson ninja pkgconfig gettext wrapGAppsHook
19+ ];
20+ buildInputs = [
21+ glib gtk libpeas gnome-online-accounts
22+ gsettings-desktop-schemas gnome3.defaultIconTheme
23+ # Plug-ins
24+ evolution-data-server libxml2 libsoup libical
25+ rest json-glib
26+ ];
27+
28+ postPatch = ''
29+ chmod +x meson_post_install.py
30+ patchShebangs meson_post_install.py
31+ '';
32+
33+ passthru = {
34+ updateScript = gnome3.updateScript {
35+ packageName = pname;
36+ attrPath = "gnome3.${pname}";
37+ };
38+ };
39+
40+ meta = with stdenv.lib; {
41+ description = "Personal task manager for GNOME";
42+ homepage = https://wiki.gnome.org/Apps/Todo;
43+ license = licenses.gpl3Plus;
44+ maintainers = gnome3.maintainers;
45+ platforms = platforms.linux;
46+ };
47+}
pkgs/desktops/gnome-3/default.nix+3−1
@@ -30,7 +30,7 @@ lib.makeScope pkgs.newScope (self: with self; {
3030 nautilus-sendto dconf-editor vinagre gnome-weather gnome-logs
3131 gnome-maps gnome-characters gnome-calendar accerciser gnome-nettool
3232 gnome-getting-started-docs gnome-packagekit gnome-software
33− gnome-power-manager gnome-usage
33+ gnome-power-manager gnome-todo gnome-usage
3434 ];
3535
3636 gamesPackages = with gnome3; [ swell-foop lightsoff iagno
@@ -291,6 +291,8 @@ lib.makeScope pkgs.newScope (self: with self; {
291291
292292 gnome-sound-recorder = callPackage ./apps/gnome-sound-recorder { };
293293
294+ gnome-todo = callPackage ./apps/gnome-todo {};
295+
294296 gnome-weather = callPackage ./apps/gnome-weather { };
295297
296298 nautilus-sendto = callPackage ./apps/nautilus-sendto { };