git.iko.soy/typeable/nixpkgs
on master help sign in
workrave: add expression
commit323829af0a04ef1eb1120701f0568304c8f58d29 authorPavan Rikhi <pavan.rikhi+agit@gmail.com> dateSun 4 Jan 2015, 10:12 (12 years ago) parenta6e9175
2 files changed+49
pkgs/applications/misc/workrave/default.nix+44 pkgs/top-level/all-packages.nix+5
pkgs/applications/misc/workrave/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{ stdenv, fetchurl, autoconf, automake, gettext, intltool, libtool, pkgconfig,
2+ libXtst, cheetah, libXScrnSaver,
3+ glib, glibmm,
4+ gtk, gtkmm,
5+ atk,
6+ pango, pangomm,
7+ cairo, cairomm,
8+ dbus, dbus_glib,
9+ GConf, gconfmm,
10+ gdome2, gstreamer, libsigcxx }:
11+
12+stdenv.mkDerivation rec {
13+ version = "v1_10_6";
14+ name = "workrave-${version}";
15+
16+ src = fetchurl {
17+ url = "http://github.com/rcaelers/workrave/archive/${version}.tar.gz";
18+ sha256 = "0q2p83n33chbqzdcdm7ykfsy73frfi6drxzm4qidxwzpzsxrysgq";
19+ };
20+
21+ buildInputs = [
22+ autoconf automake gettext intltool libtool pkgconfig libXtst cheetah
23+ libXScrnSaver
24+
25+ glib glibmm gtk gtkmm atk pango pangomm cairo cairomm
26+ dbus dbus_glib GConf gconfmm gdome2 gstreamer libsigcxx
27+ ];
28+
29+ preConfigure = "./autogen.sh";
30+
31+ meta = with stdenv.lib; {
32+ description = "A program to help prevent Repetitive Strain Injury";
33+ longDescription = ''
34+ Workrave is a program that assists in the recovery and prevention of
35+ Repetitive Strain Injury (RSI). The program frequently alerts you to
36+ take micro-pauses, rest breaks and restricts you to your daily limit.
37+ '';
38+ homepage = http://www.workrave.org/;
39+ downloadPage = https://github.com/rcaelers/workrave/releases;
40+ license = licenses.gpl3;
41+ maintainers = with maintainers; [ prikhi ];
42+ platforms = platforms.linux;
43+ };
44+}
pkgs/top-level/all-packages.nix+5
@@ -11316,6 +11316,11 @@ let
1131611316
1131711317 wordnet = callPackage ../applications/misc/wordnet { };
1131811318
11319+ workrave = callPackage ../applications/misc/workrave {
11320+ inherit (gnome) GConf gconfmm;
11321+ inherit (python27Packages) cheetah;
11322+ };
11323+
1131911324 wrapFirefox =
1132011325 { browser, browserName ? "firefox", desktopName ? "Firefox", nameSuffix ? ""
1132111326 , icon ? "${browser}/lib/${browser.name}/browser/icons/mozicon128.png" }: