gnu: Add dictd.

* gnu/packages/dictd.scm (dictd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Id1dbe8c77186574e7ad98ce3f7c8fa14b99b4db4
This commit is contained in:
Runciter 2024-12-01 20:59:53 +00:00 committed by Ludovic Courtès
parent 0a5e626f10
commit 68c502d942
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -23,7 +23,10 @@ (define-module (gnu packages dictd)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages autotools))
#:use-module (gnu packages autotools)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages compression))
(define-public libmaa
(package
@ -61,3 +64,37 @@ (define-public libmaa
performance of memory-intensive applications.")
(home-page "https://sourceforge.net/projects/dict/")
(license gpl2+)))
(define-public dictd
(package
(name "dictd")
(version "1.13.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/dict/dictd/"
"dictd-"
version
"/dictd-"
version
".tar.gz"))
(sha256
(base32 "06racmv25ihwgwf67fgj2703ik0m5i2cjzcxasa88kc92rysdwg4"))))
(inputs (list libmaa zlib))
(native-inputs (list libtool bison flex))
(arguments
(list
#:test-target "test"))
(build-system gnu-build-system)
(synopsis "@command{dict}, @command{dictd} and @command{dictfmt} programs")
(description
"The DICT Interchange Format (DICF) is a human-readable
format for the interchange of dictionary databases for the use with
DICT protocol client/server software.
This package provides a client @command{dict} and a server program
@command{dictd} for the DICT protocol, as well as a utility
@command{dictfmt} to convert various dictionary formats into
dictionaries that can be served by @command{dictd} or Dico.")
(home-page "https://sourceforge.net/projects/dict/")
(license gpl2+)))