Files
nixpkgs/pkgs/tools/misc/kronometer/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

46 lines
982 B
Nix

{
mkDerivation,
fetchurl,
fetchpatch,
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=";
};
patches = [
(fetchpatch {
url = "https://invent.kde.org/utilities/kronometer/-/commit/949f1dccd48f4a1e3068e24d241c5ce73fe2ab8f.patch";
hash = "sha256-zv9ty25vQXr3xB1S7QmXx3YIouOVUoMpdZ9gHBD1gMQ=";
})
];
meta = {
homepage = "https://kde.org/applications/utilities/kronometer/";
description = "Stopwatch application";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ peterhoeg ];
mainProgram = "kronometer";
};
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
propagatedBuildInputs = [
kconfig
kcrash
kinit
];
}