aboutsummaryrefslogtreecommitdiff
path: root/src/xyz/euandreh/queue.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-18 15:46:18 -0300
committerEuAndreh <eu@euandre.org>2022-10-18 15:46:18 -0300
commitdffd2ec13ea30c8adf0c716140a859582deed4db (patch)
tree0e19f913697052466d1cdea9346102178d9f584c /src/xyz/euandreh/queue.scm
parentsrc/xyz/euandreh/: Move grap to pending.scm (diff)
downloadpackage-repository-dffd2ec13ea30c8adf0c716140a859582deed4db.tar.gz
package-repository-dffd2ec13ea30c8adf0c716140a859582deed4db.tar.xz
src/xyz/euandreh/queue.scm: Move hunspell dictionaries out of custom channel
Diffstat (limited to 'src/xyz/euandreh/queue.scm')
-rw-r--r--src/xyz/euandreh/queue.scm81
1 files changed, 1 insertions, 80 deletions
diff --git a/src/xyz/euandreh/queue.scm b/src/xyz/euandreh/queue.scm
index fe4158d..5003f24 100644
--- a/src/xyz/euandreh/queue.scm
+++ b/src/xyz/euandreh/queue.scm
@@ -1,88 +1,15 @@
(define-module (xyz euandreh queue)
- #:use-module (srfi srfi-1)
- #:use-module (srfi srfi-26)
- #:use-module (ice-9 match)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
- #:use-module (guix git-download)
#:use-module (guix packages)
- #:use-module (guix build-system gnu)
- #:use-module (guix build-system perl)
#:use-module (guix build-system python)
- #:use-module (guix build-system trivial)
- #:use-module (gnu packages)
- #:use-module (gnu packages aspell)
- #:use-module (gnu packages autotools)
- #:use-module (gnu packages base)
- #:use-module (gnu packages bison)
#:use-module (gnu packages check)
- #:use-module (gnu packages compression)
- #:use-module (gnu packages gettext)
- #:use-module (gnu packages flex)
- #:use-module (gnu packages groff)
- #:use-module (gnu packages libreoffice)
- #:use-module (gnu packages perl)
- #:use-module (gnu packages perl-check)
- #:use-module (gnu packages perl-check)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
- #:use-module (gnu packages language)
#:use-module (gnu packages time)
- #:use-module (gnu packages tmux)
- #:use-module (gnu packages xml)
- #:use-module (gnu packages markup))
-
-(define (hunspell-dictionary-utf8 dict-name)
- (package
- (name (string-append "hunspell-dict-" dict-name "-utf8"))
- (version "630b34e6f8f3cbe7aa7b27b6d8ab118e27252fd1")
- (source
- (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://github.com/wooorm/dictionaries")
- (commit version)))
- (file-name
- (git-file-name "hunspell-dictionary-utf8" version))
- (sha256
- (base32 "1iknwzh5h04m067ddw9hlzc1qqj4mr9mdkcfapsnay304laaiyn5"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let ((source-prefix (string-append (assoc-ref %build-inputs "source")
- "/dictionaries/"
- ,dict-name
- "/index"))
- (install-prefix (string-append %output "/share/hunspell/")))
- (mkdir-p install-prefix)
- (copy-file (string-append source-prefix ".aff")
- (string-append install-prefix ,dict-name ".aff"))
- (copy-file (string-append source-prefix ".dic")
- (string-append install-prefix ,dict-name ".dic"))))))
- (synopsis (string-append "Hunspell " dict-name " dictionary in UTF-8"))
- (description (string-append "Hunspell " dict-name " dictionary in UTF-8"))
- (license license:expat)
- (home-page "https://github.com/wooorm/dictionaries")))
-
-(define-public hunspell-dict-en-utf8 (hunspell-dictionary-utf8 "en"))
-(define-public hunspell-dict-pt-utf8 (hunspell-dictionary-utf8 "pt"))
-(define-public hunspell-dict-fr-utf8 (hunspell-dictionary-utf8 "fr"))
-(define-public hunspell-dict-eo-utf8 (hunspell-dictionary-utf8 "eo"))
-(define-public hunspell-dict-es-utf8 (hunspell-dictionary-utf8 "es"))
-
-(define-public hunspell-iconv
- (package
- (inherit hunspell)
- (name "hunspell-iconv")
- (inputs
- `(("libiconv" ,libiconv)
- ,@(package-inputs hunspell)))))
+ #:use-module (gnu packages xml))
(define-public python-docx
(package
@@ -259,11 +186,5 @@ collections.OrderedDict that works in Python 2.4-2.6.")
(license #f)))
(list
- hunspell-iconv
- hunspell-dict-en-utf8
- hunspell-dict-pt-utf8
- hunspell-dict-fr-utf8
- hunspell-dict-eo-utf8
- hunspell-dict-es-utf8
python-docx
python-telegram-bot)