2013-01-07 15:30:45 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-01-12 16:44:39 -05:00
|
|
|
|
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
2013-01-07 15:30:45 -05:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2013-01-17 19:06:24 -05:00
|
|
|
|
(define-module (gnu packages aspell)
|
2013-01-07 15:30:45 -05:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
|
#:use-module (guix licenses)
|
2014-01-12 16:44:39 -05:00
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages which))
|
2013-01-07 15:30:45 -05:00
|
|
|
|
|
|
|
|
|
(define-public aspell
|
|
|
|
|
(package
|
|
|
|
|
(name "aspell")
|
|
|
|
|
(version "0.60.6.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/aspell/aspell-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qgn5psfyhbrnap275xjfrzppf5a83fb67gpql0kfqv37al869gm"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("perl" ,perl)))
|
|
|
|
|
(home-page "http://aspell.net/")
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 12:04:25 -04:00
|
|
|
|
(synopsis "Spell checker")
|
2013-01-07 15:30:45 -05:00
|
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
|
"Aspell is a spell-checker which can be used either as a library or as
|
|
|
|
|
a standalone program. Notable features of Aspell include its full support of
|
|
|
|
|
documents written in the UTF-8 encoding and its ability to use multiple
|
|
|
|
|
dictionaries, including personal ones.")
|
2013-01-07 15:30:45 -05:00
|
|
|
|
(license lgpl2.1+)))
|
2014-01-12 16:44:39 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Dictionaries.
|
|
|
|
|
;;;
|
|
|
|
|
;;; Use 'export ASPELL_CONF="dict-dir $HOME/.guix-profile/lib/aspell"' to use them.
|
|
|
|
|
;;;
|
|
|
|
|
|
|
|
|
|
(define* (aspell-dictionary dict-name full-name
|
|
|
|
|
#:key version sha256 (prefix "aspell6-"))
|
|
|
|
|
(package
|
|
|
|
|
(name (string-append "aspell-dict-" dict-name))
|
|
|
|
|
(version version)
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/aspell/dict/" dict-name
|
|
|
|
|
"/" prefix dict-name "-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256 sha256)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(zero? (system* "./configure"))))
|
|
|
|
|
%standard-phases)
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "dictdir=" out "/lib/aspell")
|
|
|
|
|
(string-append "datadir=" out "/lib/aspell")))
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(native-inputs `(("aspell" ,aspell)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(synopsis (string-append full-name " dictionary for GNU Aspell")) ; XXX: i18n
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a dictionary for the GNU Aspell spell checker.")
|
|
|
|
|
(license gpl2+)
|
|
|
|
|
(home-page "http://aspell.net/")))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public aspell-dict-en
|
|
|
|
|
(aspell-dictionary "en" "English"
|
|
|
|
|
#:version "7.1-0"
|
|
|
|
|
#:sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02ldfiny4iakgfgy4sdrzjqdzi7l1rmb6y30lv31kfy5x31g77gz")))
|
|
|
|
|
|
|
|
|
|
(define-public aspell-dict-eo
|
|
|
|
|
(aspell-dictionary "eo" "Esperanto"
|
|
|
|
|
#:version "2.1.20000225a-2"
|
|
|
|
|
#:sha256
|
|
|
|
|
(base32
|
|
|
|
|
"09vf0mbiicbmyb4bwb7v7lgpabnylg0wy7m3hlhl5rjdda6x3lj1")))
|
|
|
|
|
|
|
|
|
|
(define-public aspell-dict-es
|
|
|
|
|
(aspell-dictionary "es" "Spanish"
|
|
|
|
|
#:version "1.11-2"
|
|
|
|
|
#:sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1k5g328ac1hdpp6fsg57d8md6i0aqcwlszp3gbmp5706wyhpydmd")))
|
|
|
|
|
|
|
|
|
|
(define-public aspell-dict-fr
|
|
|
|
|
(aspell-dictionary "fr" "French"
|
|
|
|
|
#:version "0.50-3"
|
|
|
|
|
#:prefix "aspell-"
|
|
|
|
|
#:sha256
|
|
|
|
|
(base32
|
|
|
|
|
"14ffy9mn5jqqpp437kannc3559bfdrpk7r36ljkzjalxa53i0hpr")))
|