2018-04-02 16:56:25 +01:00
|
|
|
{
|
|
|
|
mkDerivation, fetchurl, lib,
|
|
|
|
extra-cmake-modules, kdoctools,
|
|
|
|
knotifyconfig, kidletime, kwindowsystem, ktextwidgets, kcrash
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "rsibreak";
|
|
|
|
version = "0.12";
|
2020-09-25 13:57:49 +01:00
|
|
|
revision = ".13";
|
2018-04-02 16:56:25 +01:00
|
|
|
in mkDerivation rec {
|
|
|
|
name = "rsibreak-${version}${revision}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.kde.org/stable/${pname}/${version}/${name}.tar.xz";
|
2020-09-25 13:57:49 +01:00
|
|
|
sha256 = "N0C+f788fq5yotSC54H2K4WDc6PnGi8Nh/vXL4v0fxo=";
|
2018-04-02 16:56:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
|
|
propagatedBuildInputs = [ knotifyconfig kidletime kwindowsystem ktextwidgets kcrash ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Takes care of your health and regularly breaks your work to avoid repetitive strain injury (RSI)";
|
2018-04-02 16:56:25 +01:00
|
|
|
license = licenses.gpl2;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.kde.org/applications/utilities/rsibreak/";
|
2018-04-02 16:56:25 +01:00
|
|
|
maintainers = with maintainers; [ vandenoever ];
|
|
|
|
};
|
|
|
|
}
|