From b46e936ae6fa04d1cf2c7727394b0f8c730dadd1 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Sat, 12 Aug 2023 23:05:53 +0200 Subject: [PATCH] gnu: Add kommit. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/kde.scm (kommit): New variable. Signed-off-by: 宋文武 --- gnu/packages/kde.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index daa11b5624..18d83d89f3 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -851,6 +851,46 @@ (define-public qca cards.") (license license:lgpl2.1+))) +(define-public kommit + (package + (name "kommit") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/" + name "/" name "-" + version ".tar.xz")) + (sha256 + (base32 + "0vp9d1x01na28p6smbd6spx14bjnzilr2bjsd380h1d17b9cm3hy")))) + (build-system qt-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "ctest" "-E" + "(difftest|clonedialogtest|overlaytest)"))))))) + (native-inputs + (list extra-cmake-modules kdoctools)) + (inputs + (list kconfigwidgets + kcoreaddons + kcrash + kdbusaddons + ki18n + kxmlgui + kio + ktextwidgets + ktexteditor + ksyntaxhighlighting)) + (home-page "https://apps.kde.org/kommit/") + (synopsis "Git client for KDE") + (description + "Kommit is a git client for KDE.") + (license license:gpl3+))) + (define-public kopeninghours (package (name "kopeninghours")