Subject: [bug#42474] [PATCH 3/3] WIP: gnu: Add hunspell-dict-de.

From: Jonathan Brielmaier <[email-masked]>
Date: Wed, 22 Jul 2020 14:30:13 +0200

* gnu/packages/libreoffice.scm (hunspell-dict-de): New variable.
---
 gnu/packages/libreoffice.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index ebe4fd7246..9e964fb096 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2017, 2018, 2019 Marius Bakke <[email-masked]>
 ;;; Copyright © 2017 Rutger Helling <[email-masked]>
 ;;; Copyright © 2018, 2019 Ricardo Wurmus <[email-masked]>
-;;; Copyright © 2018 Jonathan Brielmaier <[email-masked]>
+;;; Copyright © 2018, 2020 Jonathan Brielmaier <[email-masked]>
 ;;; Copyright © 2019 Chris Marusich <[email-masked]>
 ;;; Copyright © 2020 Marcin Karpezo <[email-masked]>
 ;;;
@@ -971,6 +971,32 @@ library.")
     (license
      (list license:gpl2 license:mpl1.1 license:cc-by4.0 license:lgpl2.1 license:asl2.0))))

+(define-public hunspell-dict-de
+  (package
+   (name "hunspell-dict-de")
+   (version "20161207")
+   (source
+    (origin
+      (method url-fetch)
+      (uri (string-append "https://www.j3e.de/ispell/igerman98/dict/"
+                           "igerman98-" version ".tar.bz2"))
+      (sha256 (base32
+               "1a3055hp2bc4q4nlg3gmg0147p3a1zlfnc65xiv2v9pyql1nya8p"))))
+   (build-system gnu-build-system)
+   (arguments
+    `(#:make-flags '("hunspell/de_DE.dic")
+      #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))
+      #:tests? #f)) ;no tests
+   (native-inputs
+    `(("perl" ,perl)))
+   (synopsis "Hunspell dictionary for German")
+   (description "This package provides a dictionary for the Hunspell
+spell-checking library.")
+   (home-page "https://www.j3e.de/ispell/igerman98/")
+   (license (list license:gpl2 license:gpl3))))
+
 (define-public hyphen
   (package
     (name "hyphen")
--
2.27.0