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

37 lines
742 B
Nix

{
mkDerivation,
fetchurl,
lib,
extra-cmake-modules,
kdoctools,
kconfig,
kcrash,
kinit,
}:
mkDerivation rec {
pname = "kronometer";
version = "2.3.0";
src = fetchurl {
url = "mirror://kde/stable/kronometer/${version}/src/kronometer-${version}.tar.xz";
sha256 = "sha256-dbnhom8PRo0Bay3DzS2P0xQSrJaMXD51UadQL3z6xHY=";
};
meta = with lib; {
homepage = "https://kde.org/applications/utilities/kronometer/";
description = "Stopwatch application";
license = licenses.gpl2Only;
maintainers = with maintainers; [ peterhoeg ];
mainProgram = "kronometer";
};
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
propagatedBuildInputs = [
kconfig
kcrash
kinit
];
}