1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-07 01:35:52 +02:00

gnu: sdcv: Add 'STARDICT_DATA_DIR' search path spec.

* gnu/packages/dictionaries.scm (sdcv)[native-search-paths]: New field.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
luhux
2021-01-01 08:57:50 +08:00
committed by Efraim Flashner
parent c729a06382
commit 7dd1a2174a
+6
View File
@@ -438,6 +438,12 @@ intelligible and easily correctable.")
("ncurses" ,ncurses)
("readline" ,readline)
("zlib" ,zlib)))
;; If you use Guix to package and install dictionary data,
;; you need this variable to load them.
(native-search-paths
(list (search-path-specification
(variable "STARDICT_DATA_DIR")
(files '("share/stardict/dic")))))
(home-page "https://dushistov.github.io/sdcv/")
(synopsis "Console version of StarDict")
(description "sdcv is simple text-based utility for work with dictionaries