about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/office/ktimetracker/default.nix
blob: 58720625cc8e77c66b843e5a3233ca0e55e2bd49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ mkDerivation, lib, fetchurl, cmake, pkg-config, extra-cmake-modules,
kconfig, kconfigwidgets, kdbusaddons, kdoctools, ki18n, kidletime,
kjobwidgets, kio, knotifications, kwindowsystem, kxmlgui, ktextwidgets,
kcalendarcore
}:

mkDerivation rec {
  pname = "ktimetracker";
  version = "5.0.1";

  src = fetchurl {
    url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
    sha256 = "0jp63fby052rapjjaz413b1wjz4qsgpxh82y2d75jzimch0n5s02";
  };

  nativeBuildInputs = [
    cmake pkg-config extra-cmake-modules
  ];

  buildInputs = [
    kconfig kconfigwidgets kdbusaddons kdoctools ki18n kidletime kjobwidgets
kio knotifications kwindowsystem kxmlgui ktextwidgets
    kcalendarcore
  ];

  meta = with lib; {
    description = "Todo management and time tracking application";
    mainProgram = "ktimetracker";
    license = licenses.gpl2;
    homepage = "https://userbase.kde.org/KTimeTracker";
    maintainers = with maintainers; [ dtzWill ];
  };
}