nixpkgs/pkgs/applications/misc/rsibreak/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

26 lines
842 B
Nix

{
mkDerivation, fetchurl, lib,
extra-cmake-modules, kdoctools,
knotifyconfig, kidletime, kwindowsystem, ktextwidgets, kcrash
}:
mkDerivation rec {
pname = "rsibreak";
version = "0.12.13";
src = fetchurl {
url = "mirror://kde/stable/rsibreak/${version}/rsibreak-${version}.tar.xz";
sha256 = "N0C+f788fq5yotSC54H2K4WDc6PnGi8Nh/vXL4v0fxo=";
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ knotifyconfig kidletime kwindowsystem ktextwidgets kcrash ];
meta = with lib; {
description = "Takes care of your health and regularly breaks your work to avoid repetitive strain injury (RSI)";
mainProgram = "rsibreak";
license = licenses.gpl2;
homepage = "https://www.kde.org/applications/utilities/rsibreak/";
maintainers = with maintainers; [ vandenoever ];
};
}