summary refs log tree commit diff
path: root/gnu/services/dict.scm
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-03-05 00:48:23 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-17 23:20:36 +0100
commit20aa4c30fbfdb72c25d267fe36299f02e3e202e2 (patch)
tree9f853079f86f34ba3830a6a83dbfa2912a8125e3 /gnu/services/dict.scm
parent511ae8325db0dfc7803d7b98d7e4d8f76774e8c5 (diff)
downloadguix-20aa4c30fbfdb72c25d267fe36299f02e3e202e2.tar.gz
services: dict: Deprecate 'dicod-service' procedure.
* doc/guix.texi (Miscellaneous Services): Remove 'dicod-service' mention.
* gnu/services/dict.scm (dicod-service): Deprecate procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services/dict.scm')
-rw-r--r--gnu/services/dict.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/services/dict.scm b/gnu/services/dict.scm
index 35253a0077..5a61085316 100644
--- a/gnu/services/dict.scm
+++ b/gnu/services/dict.scm
@@ -19,6 +19,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu services dict)
+  #:use-module (guix deprecation)
   #:use-module (guix gexp)
   #:use-module (guix records)
   #:use-module (guix modules)
@@ -34,7 +35,7 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26)
   #:use-module (ice-9 match)
-  #:export (dicod-service
+  #:export (dicod-service  ; deprecated
             dicod-service-type
             dicod-configuration
             dicod-handler
@@ -202,7 +203,8 @@ database {
 implements the standard DICT protocol supported by clients such as
 @command{dico} and GNOME Dictionary.")))
 
-(define* (dicod-service #:key (config (dicod-configuration)))
+(define-deprecated (dicod-service #:key (config (dicod-configuration)))
+  dicod-service-type
   "Return a service that runs the @command{dicod} daemon, an implementation
 of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual}).