From: Thanos Apollo via Guix-patches via <guix-patches@gnu.org>
To: 72677@debbugs.gnu.org
Cc: Thanos Apollo <public@thanosapollo.org>
Subject: [bug#72677] [PATCH] gnu: hunspell: Add Greek dictionary.
Date: Sat, 17 Aug 2024 01:21:10 +0300 [thread overview]
Message-ID: <2eee41658229f5deb26c615ea72fa2734377be6c.1723846864.git.public@thanosapollo.org> (raw)
* gnu/packages/hunspell.scm (hunspell-dict-el): New variable.
Change-Id: I5b534862030a60e09f2c4a741a723fc2467b20ba
---
gnu/packages/hunspell.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/hunspell.scm b/gnu/packages/hunspell.scm
index 4e043f5073..e228a844bf 100644
--- a/gnu/packages/hunspell.scm
+++ b/gnu/packages/hunspell.scm
@@ -266,6 +266,41 @@ (define-public hunspell-dict-hu
(home-page "https://magyarispell.sourceforge.net/")
(license (list license:gpl2 license:gpl3)))))
+(define-public hunspell-dict-el
+ (let ((commit "8e799911aede4e2c340d1b5a67a07f8e22ab9c8e"))
+ (package
+ (name "hunspell-dict-el")
+ (version "0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.thanosapollo.org/hunspell-dict-el")
+ (commit commit)))
+ (sha256
+ (base32 "0z9nyfy50c0bjvvm42xwd3npjpp07a9slm3gfgvxanyqm7djrmb1"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'build)
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share/hunspell/")))
+ (install-file "el_GR.aff" share)
+ (install-file "el_GR.dic" share)
+ #t))))
+ #:tests? #f))
+ (native-inputs
+ (list hunspell ispell perl))
+ (synopsis "Hunspell Greek/Hellenic dictionary")
+ (description "This package provides a dictionary for the Hunspell
+spell-checking library.")
+ (home-page "https://git.thanosapollo.org/hunspell-dict-el/")
+ (license (list license:gpl2 license:gpl3)))))
+
(define* (hunspell-dictionary dict-name full-name #:key synopsis home-page license)
(package
(name (string-append
base-commit: 0ab167bdb2ec3ff88a75930c24b8bd77c61cc634
--
2.45.2
next reply other threads:[~2024-08-16 22:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 22:21 Thanos Apollo via Guix-patches via [this message]
2024-08-21 8:55 ` bug#72677: [PATCH] gnu: hunspell: Add Greek dictionary Nicolas Goaziou via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2eee41658229f5deb26c615ea72fa2734377be6c.1723846864.git.public@thanosapollo.org \
--to=guix-patches@gnu.org \
--cc=72677@debbugs.gnu.org \
--cc=public@thanosapollo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).