2016-08-03 03:50:14 +01:00
|
|
|
{
|
2017-05-16 16:56:41 +01:00
|
|
|
mkDerivation, fetchurl, lib,
|
|
|
|
extra-cmake-modules, kdoctools, wrapGAppsHook,
|
2017-07-04 20:48:15 +01:00
|
|
|
kconfig, kcrash, kinit
|
2016-08-03 03:50:14 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "kronometer";
|
2019-06-02 02:19:21 +01:00
|
|
|
version = "2.2.2";
|
2017-05-16 16:56:41 +01:00
|
|
|
in
|
|
|
|
mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2016-08-03 03:50:14 +01:00
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
2019-06-02 02:19:21 +01:00
|
|
|
sha256 = "142f1kqygil6d4pvh6pallin355h2rq5s1hs6gd11plcin6rkg2j";
|
2017-05-16 16:56:41 +01:00
|
|
|
};
|
2016-08-03 03:50:14 +01:00
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
meta = with lib; {
|
2019-06-04 12:48:51 +01:00
|
|
|
homepage = "https://kde.org/applications/utilities/kronometer/";
|
|
|
|
description = "A stopwatch application";
|
2017-05-16 16:56:41 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2016-08-03 03:50:14 +01:00
|
|
|
};
|
2017-05-16 16:56:41 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
2017-07-04 20:48:15 +01:00
|
|
|
propagatedBuildInputs = [ kconfig kcrash kinit ];
|
2016-08-03 03:50:14 +01:00
|
|
|
}
|