From 6e6a7d61ee777db20cdb34658c6bf61feffb2e49 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sun, 2 Feb 2020 14:49:00 -0600 Subject: [PATCH] ktimetracker: init at 5.0.1 --- .../office/ktimetracker/default.nix | 32 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/applications/office/ktimetracker/default.nix diff --git a/pkgs/applications/office/ktimetracker/default.nix b/pkgs/applications/office/ktimetracker/default.nix new file mode 100644 index 000000000000..8a40a3f4f69d --- /dev/null +++ b/pkgs/applications/office/ktimetracker/default.nix @@ -0,0 +1,32 @@ +{ mkDerivation, lib, fetchurl, cmake, pkgconfig, 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 pkgconfig 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"; + license = licenses.gpl2; + homepage = "https://userbase.kde.org/KTimeTracker"; + maintainers = with maintainers; [ dtzWill ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2b2c800735ac..367676186816 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19917,6 +19917,8 @@ in ksuperkey = callPackage ../tools/X11/ksuperkey { }; + ktimetracker = libsForQt5.callPackage ../applications/office/ktimetracker { }; + ktorrent = libsForQt5.callPackage ../applications/networking/p2p/ktorrent { }; kubecfg = callPackage ../applications/networking/cluster/kubecfg { };