1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: kopeninghours: Move to kde-pim.scm.

* gnu/packages/kde.scm (kopeninghours): Remove variable.
* gnu/packages/kde-pim.scm (kopeninghours): New variable.

Change-Id: I9efb9deb3459c6bd15224226a68a2bfba3fbed82
This commit is contained in:
Sughosha
2025-10-07 09:56:18 +05:30
committed by Andreas Enge
parent 2bbe2e85b9
commit 496d0a116c
2 changed files with 36 additions and 37 deletions

View File

@@ -69,6 +69,42 @@
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml))
(define-public kopeninghours
(package
(name "kopeninghours")
(version "25.08.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/"
version "/src/" name "-" version ".tar.xz"))
(sha256
(base32
"02xdklp1d2d5dxmsykchw37fs1vi1f6b1mk33cywlq63qbsgpniw"))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags #~(list "-DBUILD_WITH_QT6=ON")
#:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "QT_QPA_PLATFORM" "offscreen")
(invoke "ctest" "-E"
"(evaluatetest|iterationtest)")))))))
(native-inputs (list bison extra-cmake-modules flex))
(inputs (list boost
kholidays
ki18n
osmctools
qtbase
qtdeclarative))
(home-page "https://invent.kde.org/libraries/kopeninghours")
(synopsis "Get opening hours from OpenStreetMap")
(description
"This package provides a library for parsing and evaluating OpenStreetMap
opening hours expressions.")
(license license:lgpl2.0+)))
(define-public kosmindoormap
(package
(name "kosmindoormap")

View File

@@ -61,7 +61,6 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages geo)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages glib)
@@ -225,42 +224,6 @@ cards.")
(inputs
(list openssl qtbase qt5compat))))
(define-public kopeninghours
(package
(name "kopeninghours")
(version "25.08.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/"
version "/src/" name "-" version ".tar.xz"))
(sha256
(base32
"02xdklp1d2d5dxmsykchw37fs1vi1f6b1mk33cywlq63qbsgpniw"))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags #~(list "-DBUILD_WITH_QT6=ON")
#:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "QT_QPA_PLATFORM" "offscreen")
(invoke "ctest" "-E"
"(evaluatetest|iterationtest)")))))))
(native-inputs (list bison extra-cmake-modules flex))
(inputs (list boost
kholidays
ki18n
osmctools
qtbase
qtdeclarative))
(home-page "https://invent.kde.org/libraries/kopeninghours")
(synopsis "Get opening hours from OpenStreetMap")
(description
"This package provides a library for parsing and evaluating OpenStreetMap
opening hours expressions.")
(license license:lgpl2.0+)))
(define-public ksanecore
(package
(name "ksanecore")