gnu: sdcv: Update to 0.5.5.

* gnu/packages/dictionaries.scm (sdcv): Update to 0.5.5.
[arguments]: ...don't we?  Remove the 'remove-jq-requirement phase.
[native-inputs]: Add jq.
This commit is contained in:
Tobias Geerinckx-Rice 2023-07-09 02:00:03 +02:00
parent b499be6e20
commit 62bd53dbb9
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -53,6 +53,7 @@ (define-module (gnu packages dictionaries)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages compression)
#:use-module (gnu packages tcl)
#:use-module (gnu packages web)
#:use-module (gnu packages xml))
@ -391,7 +392,7 @@ (define-public apertium
(define-public sdcv
(package
(name "sdcv")
(version "0.5.3")
(version "0.5.5")
(source
(origin
(method git-fetch)
@ -400,8 +401,7 @@ (define-public sdcv
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"144qpl9b8r2php0zhi9b7vg6flpvdgjy6yfaipydwwhxi4wy9600"))))
(base32 "17jwcgc3jdp41rvxqi7zdsysfpjgzqq4z1l345qwffp1an6yaaqk"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DBUILD_TESTS=YES")
@ -413,16 +413,13 @@ (define-public sdcv
(add-before 'check 'pre-check
(lambda _
(setenv "HOME" (getcwd))
#t))
(add-after 'unpack 'remove-jq-requirement
(lambda _
;; We don't want to bring in jq for one test.
(substitute* "tests/t_json"
(("jq") "echo"))
#t)))))
(native-inputs
`(("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))
("pkg-config" ,pkg-config)
;; For tests.
("jq" ,jq)))
(inputs
(list glib ncurses readline zlib))
(home-page "https://dushistov.github.io/sdcv/")