nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 mkDerivation,
3 fetchurl,
4 lib,
5 extra-cmake-modules,
6 kdoctools,
7 knotifyconfig,
8 kidletime,
9 kwindowsystem,
10 ktextwidgets,
11 kcrash,
12}:
13
14mkDerivation rec {
15 pname = "rsibreak";
16 version = "0.12.13";
17
18 src = fetchurl {
19 url = "mirror://kde/stable/rsibreak/${version}/rsibreak-${version}.tar.xz";
20 sha256 = "N0C+f788fq5yotSC54H2K4WDc6PnGi8Nh/vXL4v0fxo=";
21 };
22
23 nativeBuildInputs = [
24 extra-cmake-modules
25 kdoctools
26 ];
27 propagatedBuildInputs = [
28 knotifyconfig
29 kidletime
30 kwindowsystem
31 ktextwidgets
32 kcrash
33 ];
34
35 meta = with lib; {
36 description = "Takes care of your health and regularly breaks your work to avoid repetitive strain injury (RSI)";
37 mainProgram = "rsibreak";
38 license = licenses.gpl2;
39 homepage = "https://www.kde.org/applications/utilities/rsibreak/";
40 maintainers = with maintainers; [ vandenoever ];
41 };
42}