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

26 lines
612 B
Nix
Raw Normal View History

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