workrave: add expression

This commit is contained in:
Pavan Rikhi 2015-01-04 10:12:22 -05:00
parent a6e9175b6d
commit 323829af0a
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ stdenv, fetchurl, autoconf, automake, gettext, intltool, libtool, pkgconfig,
libXtst, cheetah, libXScrnSaver,
glib, glibmm,
gtk, gtkmm,
atk,
pango, pangomm,
cairo, cairomm,
dbus, dbus_glib,
GConf, gconfmm,
gdome2, gstreamer, libsigcxx }:
stdenv.mkDerivation rec {
version = "v1_10_6";
name = "workrave-${version}";
src = fetchurl {
url = "http://github.com/rcaelers/workrave/archive/${version}.tar.gz";
sha256 = "0q2p83n33chbqzdcdm7ykfsy73frfi6drxzm4qidxwzpzsxrysgq";
};
buildInputs = [
autoconf automake gettext intltool libtool pkgconfig libXtst cheetah
libXScrnSaver
glib glibmm gtk gtkmm atk pango pangomm cairo cairomm
dbus dbus_glib GConf gconfmm gdome2 gstreamer libsigcxx
];
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {
description = "A program to help prevent Repetitive Strain Injury";
longDescription = ''
Workrave is a program that assists in the recovery and prevention of
Repetitive Strain Injury (RSI). The program frequently alerts you to
take micro-pauses, rest breaks and restricts you to your daily limit.
'';
homepage = http://www.workrave.org/;
downloadPage = https://github.com/rcaelers/workrave/releases;
license = licenses.gpl3;
maintainers = with maintainers; [ prikhi ];
platforms = platforms.linux;
};
}

View file

@ -11316,6 +11316,11 @@ let
wordnet = callPackage ../applications/misc/wordnet { };
workrave = callPackage ../applications/misc/workrave {
inherit (gnome) GConf gconfmm;
inherit (python27Packages) cheetah;
};
wrapFirefox =
{ browser, browserName ? "firefox", desktopName ? "Firefox", nameSuffix ? ""
, icon ? "${browser}/lib/${browser.name}/browser/icons/mozicon128.png" }: