nixpkgs-suyu/pkgs/tools/misc/kronometer/default.nix
2017-02-13 09:55:40 +01:00

29 lines
659 B
Nix

{
kdeDerivation, kdeWrapper, fetchurl, lib,
ecm, kdoctools,
kconfig, kinit
}:
let
pname = "kronometer";
version = "2.1.3";
unwrapped = kdeDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "1z06gvaacm3d3a9smlmgg2vf0jdab5kqxx24r6v7iprqzgdpsn4i";
};
meta = with lib; {
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
};
nativeBuildInputs = [ ecm kdoctools ];
propagatedBuildInputs = [ kconfig kinit ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kronometer" ];
}