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

30 lines
691 B
Nix
Raw Normal View History

2016-08-03 02:50:14 +00:00
{
kdeDerivation, kdeWrapper, fetchurl, lib,
extra-cmake-modules, kdoctools,
2016-08-03 02:50:14 +00:00
kconfig, kinit
}:
let
pname = "kronometer";
2017-02-12 09:48:43 +00:00
version = "2.1.3";
2016-08-03 02:50:14 +00: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 02:50:14 +00:00
};
meta = with lib; {
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
2016-08-03 02:50:14 +00:00
propagatedBuildInputs = [ kconfig kinit ];
};
in
kdeWrapper {
inherit unwrapped;
2016-08-03 02:50:14 +00:00
targets = [ "bin/kronometer" ];
}