1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 02:50:45 +02:00

gnu: sdcv: Improve package style.

* gnu/packages/dictionaries.scm (sdcv)[arguments]: Rewrite using g-exps.
[native-inputs]: Remove package labels.

Change-Id: Ic0cdb64d959489429759110d3d339518a3b7c304
This commit is contained in:
Efraim Flashner 2025-03-03 10:10:27 +02:00
parent 3148060d83
commit 169f88d90f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -410,25 +410,24 @@ intelligible and easily correctable.")
(base32 "17jwcgc3jdp41rvxqi7zdsysfpjgzqq4z1l345qwffp1an6yaaqk")))) (base32 "17jwcgc3jdp41rvxqi7zdsysfpjgzqq4z1l345qwffp1an6yaaqk"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags (list
'("-DBUILD_TESTS=YES" #:configure-flags
#~(list "-DBUILD_TESTS=YES"
;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078404 ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078404
"-DCMAKE_CXX_FLAGS=-fpermissive") "-DCMAKE_CXX_FLAGS=-fpermissive")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'build 'build-lang (add-after 'build 'build-lang
(lambda _ (lambda _
(invoke "make" "lang"))) (invoke "make" "lang")))
(add-before 'check 'pre-check (add-before 'check 'pre-check
(lambda _ (lambda _
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd)))))))
#t)))))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) (list gettext-minimal
("pkg-config" ,pkg-config) pkg-config
;; For tests. ;; For tests.
("jq" ,jq))) jq))
(inputs (inputs
(list glib ncurses readline zlib)) (list glib ncurses readline zlib))
(home-page "https://dushistov.github.io/sdcv/") (home-page "https://dushistov.github.io/sdcv/")