2016-08-03 03:50:14 +01:00
|
|
|
{
|
|
|
|
kdeDerivation, kdeWrapper, fetchurl, lib,
|
2017-02-26 12:49:15 +00:00
|
|
|
extra-cmake-modules, kdoctools,
|
2016-08-03 03:50:14 +01:00
|
|
|
kconfig, kinit
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "kronometer";
|
2017-02-12 09:48:43 +00:00
|
|
|
version = "2.1.3";
|
2016-08-03 03:50:14 +01:00
|
|
|
unwrapped = kdeDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
2017-02-12 09:48:43 +00:00
|
|
|
sha256 = "1z06gvaacm3d3a9smlmgg2vf0jdab5kqxx24r6v7iprqzgdpsn4i";
|
2016-08-03 03:50:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2016-08-03 03:50:14 +01:00
|
|
|
propagatedBuildInputs = [ kconfig kinit ];
|
|
|
|
};
|
|
|
|
in
|
2017-01-02 23:33:15 +00:00
|
|
|
kdeWrapper {
|
|
|
|
inherit unwrapped;
|
2016-08-03 03:50:14 +01:00
|
|
|
targets = [ "bin/kronometer" ];
|
|
|
|
}
|