nixpkgs/pkgs/desktops/gnome-3/misc/pomodoro/default.nix
2017-10-04 22:39:42 +02:00

45 lines
1.4 KiB
Nix

{ stdenv, fetchFromGitHub, autoconf-archive, appstream-glib, intltool, pkgconfig, libtool, wrapGAppsHook,
dbus_glib, libcanberra_gtk2, gst_all_1, vala_0_34, gnome3, gtk3,
glib, gobjectIntrospection, libpeas
}:
stdenv.mkDerivation rec {
version = "0.13.3";
name = "gnome-shell-pomodoro-${version}";
src = fetchFromGitHub {
owner = "codito";
repo = "gnome-pomodoro";
rev = "${version}";
sha256 = "1hi4mdzyz2f8k19bkfzrrnavsbkr621w0bfpza8ij2yccpxz81h2";
};
configureScript = "./autogen.sh";
nativeBuildInputs = [
autoconf-archive libtool intltool appstream-glib
wrapGAppsHook pkgconfig
];
buildInputs = [
glib gobjectIntrospection libpeas
dbus_glib libcanberra_gtk2 vala_0_34 gst_all_1.gstreamer
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
gnome3.gsettings_desktop_schemas
gnome3.gnome_common gnome3.gnome_shell gtk3
gnome3.defaultIconTheme
];
meta = with stdenv.lib; {
homepage = https://github.com/codito/gnome-shell-pomodoro;
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.
'';
maintainers = with maintainers; [ jgeerds ];
license = licenses.gpl3;
platforms = platforms.linux;
};
}