Files
nixpkgs/pkgs/by-name/wo/workrave/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

99 lines
1.8 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
wrapGAppsHook3,
autoconf,
autoconf-archive,
automake,
gettext,
intltool,
libtool,
pkg-config,
libICE,
libSM,
libXScrnSaver,
libXtst,
gobject-introspection,
glib,
glibmm,
gtkmm3,
atk,
pango,
pangomm,
cairo,
cairomm,
dbus,
dbus-glib,
gst_all_1,
libsigcxx,
boost,
python3Packages,
}:
stdenv.mkDerivation rec {
pname = "workrave";
version = "1.10.53";
src = fetchFromGitHub {
repo = "workrave";
owner = "rcaelers";
rev = "v" + lib.concatStringsSep "_" (lib.splitVersion version);
sha256 = "sha256-Dt0KY6nchcGZLyiUGGS4pnVagreIhuQpSq2DdvWqtn8=";
};
nativeBuildInputs = [
autoconf
autoconf-archive
automake
gettext
intltool
libtool
pkg-config
wrapGAppsHook3
python3Packages.jinja2
gobject-introspection
];
buildInputs = [
libICE
libSM
libXScrnSaver
libXtst
glib
glibmm
gtkmm3
atk
pango
pangomm
cairo
cairomm
dbus
dbus-glib
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
libsigcxx
boost
];
preConfigure = "./autogen.sh";
enableParallelBuilding = true;
meta = with lib; {
description = "Program to help prevent Repetitive Strain Injury";
mainProgram = "workrave";
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;
};
}