From 7a46952619cf0cd4a4f60f985f0c747f299bd68e Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 22 Aug 2024 09:32:14 +0300 Subject: hunspell: Rewrite hunspell-dict-en-med. --- hecate/packages/hunspell.scm | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/hecate/packages/hunspell.scm b/hecate/packages/hunspell.scm index 65527c3..33272e2 100644 --- a/hecate/packages/hunspell.scm +++ b/hecate/packages/hunspell.scm @@ -45,37 +45,37 @@ word compounding or character encoding.") ;; Triple license, including "mpl1.1 or later". (license (list license:mpl1.1 license:gpl2+ license:lgpl2.1+)))) -(define-public hunspell-dict-med +(define-public hunspell-dict-en-med (package - (name "hunspell-dict-med") - (version "01") + (name "hunspell-dict-en-med") + (version "0.1") (source (origin (method git-fetch) (uri (git-reference - (url "https://git.thanosapollo.org/hunspell-en-med-full/") - (commit "589979639abb78aecc37a3f8e3872ff6ad3f47ad"))) + (url "https://git.thanosapollo.org/hunspell-en-med") + (commit "672c036dee00b15dad43aad9fc268a1a0e90eb02"))) (sha256 - (base32 "1pl5kbf3cnxfrpijf83pmv23yzk2ggy7dllqk7rayfbq75117608")))) + (base32 "0h6j6d86w0pwfspz1jm5v1qlac70p1rmxy3nyv960x5cyf3qgbfb")))) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'build) - (delete 'configure) - (replace 'install ;no install target - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (share (string-append out "/share/hunspell/"))) - (install-file "en_med_full.aff" share) - (install-file "en_med_full.dic" share) - #t)))) - #:tests? #f)) ; no tests + `(#: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 "en_med.aff" share) + (install-file "en_med.dic" share) + #t)))) + #:tests? #f)) (native-inputs (list hunspell ispell perl)) (synopsis "Hunspell dictionary medical") (description "This package provides a dictionary for the Hunspell -spell-checking library.") +spell-checking library for English-US with .") (home-page "https://www.j3e.de/ispell/igerman98/") (license (list license:gpl2 license:gpl3)))) @@ -105,7 +105,7 @@ spell-checking library.") (install-file "el_GR.aff" share) (install-file "el_GR.dic" share) #t)))) - #:tests? #f)) ; no tests + #:tests? #f)) (native-inputs (list hunspell ispell perl)) (synopsis "Hunspell Greek/Hellenic dictionary") @@ -113,4 +113,3 @@ spell-checking library.") spell-checking library.") (home-page "https://www.j3e.de/ispell/igerman98/") (license (list license:gpl2 license:gpl3))))) - -- cgit v1.2.3