[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74411] [PATCH v3 2/5] gnu: Add dictd.
From: |
Runciter |
Subject: |
[bug#74411] [PATCH v3 2/5] gnu: Add dictd. |
Date: |
Sun, 01 Dec 2024 20:59:53 +0000 |
* gnu/packages/dictd.scm (dictd-1.13.1): New variable.
Signed-off-by: Runciter <runciter@whispers-vpn.org>
---
gnu/packages/dictd.scm | 39 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 38 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/dictd.scm b/gnu/packages/dictd.scm
index 8e025a2f04..5456b39d9b 100644
--- a/gnu/packages/dictd.scm
+++ b/gnu/packages/dictd.scm
@@ -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 @command{dicos}")
+ (home-page "https://sourceforge.net/projects/dict/")
+ (license gpl2+)))
--
2.46.0