@@ -0,0 +1,28 @@
1+{
2+ mkDerivation, fetchurl, lib,
3+ extra-cmake-modules, kdoctools,
4+ knotifyconfig, kidletime, kwindowsystem, ktextwidgets, kcrash
5+}:
6+
7+let
8+ pname = "rsibreak";
9+ version = "0.12";
10+ revision = ".8";
11+in mkDerivation rec {
12+ name = "rsibreak-${version}${revision}";
13+
14+ src = fetchurl {
15+ url = "https://download.kde.org/stable/${pname}/${version}/${name}.tar.xz";
16+ sha256 = "1qn9xdjx9zzw47jsj7f4nkqmrangfhdgafm2jxm7cm6z6kcvzr28";
17+ };
18+
19+ nativeBuildInputs = [ extra-cmake-modules kdoctools ];
20+ propagatedBuildInputs = [ knotifyconfig kidletime kwindowsystem ktextwidgets kcrash ];
21+
22+ meta = with lib; {
23+ description = "RSIBreak takes care of your health and regularly breaks your work to avoid repetitive strain injury (RSI)";
24+ license = licenses.gpl2;
25+ homepage = https://www.kde.org/applications/utilities/rsibreak/;
26+ maintainers = with maintainers; [ vandenoever ];
27+ };
28+}