nixpkgs/pkgs/tools/misc/kronometer/default.nix

26 lines
612 B
Nix
Raw Normal View History

2016-08-03 02:50:14 +00:00
{
2017-05-16 15:56:41 +00:00
mkDerivation, fetchurl, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook,
2017-07-04 19:48:15 +00:00
kconfig, kcrash, kinit
2016-08-03 02:50:14 +00:00
}:
let
pname = "kronometer";
version = "2.2.1";
2017-05-16 15:56:41 +00:00
in
mkDerivation rec {
name = "${pname}-${version}";
2016-08-03 02:50:14 +00:00
2017-05-16 15:56:41 +00:00
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "18b2qi5b9hn8jy3yhav72n14z5l9w3p5fv5kslhbxc7rfvjr4h3x";
2017-05-16 15:56:41 +00:00
};
2016-08-03 02:50:14 +00:00
2017-05-16 15:56:41 +00:00
meta = with lib; {
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
2016-08-03 02:50:14 +00:00
};
2017-05-16 15:56:41 +00:00
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
2017-07-04 19:48:15 +00:00
propagatedBuildInputs = [ kconfig kcrash kinit ];
2016-08-03 02:50:14 +00:00
}