gnu: python-pandas: Fix build on 32-bit.
[jackhill/guix/guix.git] / gnu / packages / enchant.scm
CommitLineData
1deac344
MB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages enchant)
20 #:use-module (gnu packages)
21 #:use-module (gnu packages aspell)
22 #:use-module (gnu packages glib)
23 #:use-module (gnu packages pkg-config)
24 #:use-module (guix packages)
25 #:use-module (guix download)
26 #:use-module (guix build-system gnu)
27 #:use-module (guix licenses))
28
29(define-public enchant
30 (package
31 (name "enchant")
32 (version "1.6.0")
33 (source
34 (origin
35 (method url-fetch)
36 (uri
37 (string-append "http://www.abisource.com/downloads/" name "/" version
38 "/" name "-" version ".tar.gz"))
39 (sha256
40 (base32 "0zq9yw1xzk8k9s6x83n1f9srzcwdavzazn3haln4nhp9wxxrxb1g"))))
41
42 (build-system gnu-build-system)
43 (inputs
44 `(("aspell" ,aspell) ;; Currently, the only supported backend in Guix
45 ("glib" ,glib))) ;; is aspell. (This information might be old)
46 (native-inputs
47 `(("glib:bin" ,glib "bin")
48 ("pkg-config" ,pkg-config)))
49
50 (synopsis "Multi-backend spell-checking library wrapper")
51 (description
52 "On the surface, Enchant appears to be a generic spell checking library.
53Looking closer, you'll see the Enchant is more-or-less a fancy wrapper around
54the dlopen() system call.
55
56Enchant steps in to provide uniformity and conformity on top of these libraries,
57and implement certain features that may be lacking in any individual provider
58library. Everything should \"just work\" for any and every definition of \"just
e881752c 59working\".")
1deac344
MB
60 (home-page "http://www.abisource.com/projects/enchant")
61 (license lgpl2.1+)))