2018-09-13 05:02:42 +02:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, autoconf-archive, appstream-glib, intltool, pkgconfig, libtool, wrapGAppsHook,
|
2018-02-25 03:23:58 +01:00
|
|
|
dbus-glib, libcanberra, gst_all_1, vala, gnome3, gtk3, libxml2, autoreconfHook,
|
2018-12-02 12:41:15 +01:00
|
|
|
glib, gobject-introspection, libpeas
|
2016-09-18 21:35:23 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-11-22 19:33:59 +01:00
|
|
|
version = "0.13.4";
|
2016-09-18 21:35:23 +02:00
|
|
|
name = "gnome-shell-pomodoro-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-09-04 04:30:25 +02:00
|
|
|
owner = "codito";
|
|
|
|
repo = "gnome-pomodoro";
|
|
|
|
rev = "${version}";
|
2017-11-22 19:33:59 +01:00
|
|
|
sha256 = "0fiql99nhj168wbfhvzrhfcm4c4569gikd2zaf10vzszdqjahrl1";
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
|
2018-09-13 05:02:42 +02:00
|
|
|
patches = [
|
|
|
|
# build with Vala ≥ 0.42
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://github.com/codito/gnome-pomodoro/commit/36778823ca5bd94b2aa948e5d8718f84d99d9af0.patch;
|
|
|
|
sha256 = "0a9x0p5wny3an9xawam9nhpffw5m4kgwj5jvv0g6c2lwlfzrx2rh";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-09-04 04:30:25 +02:00
|
|
|
nativeBuildInputs = [
|
2017-12-17 04:38:25 +01:00
|
|
|
autoreconfHook vala autoconf-archive libtool intltool appstream-glib
|
2017-11-22 19:33:59 +01:00
|
|
|
wrapGAppsHook pkgconfig libxml2
|
2017-09-04 04:30:25 +02:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
buildInputs = [
|
2018-12-02 12:41:15 +01:00
|
|
|
glib gobject-introspection libpeas
|
2018-02-25 03:23:58 +01:00
|
|
|
dbus-glib libcanberra gst_all_1.gstreamer
|
2016-09-18 21:35:23 +02:00
|
|
|
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
2018-02-25 03:23:58 +01:00
|
|
|
gnome3.gsettings-desktop-schemas
|
2019-02-13 22:47:50 +01:00
|
|
|
gnome3.gnome-shell gtk3 gnome3.adwaita-icon-theme
|
2016-09-18 21:35:23 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-12-17 04:38:25 +01:00
|
|
|
homepage = http://gnomepomodoro.org/;
|
2016-09-18 21:35:23 +02:00
|
|
|
description = "A time management utility for GNOME based on the pomodoro technique";
|
|
|
|
longDescription = ''
|
|
|
|
This GNOME utility helps to manage time according to Pomodoro Technique.
|
|
|
|
It intends to improve productivity and focus by taking short breaks.
|
|
|
|
'';
|
2019-03-12 23:45:33 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|