Commit | Line | Data |
---|---|---|
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) | |
18ef85b6 MB |
43 | (arguments |
44 | '(#:configure-flags '("--disable-static"))) | |
1deac344 MB |
45 | (inputs |
46 | `(("aspell" ,aspell) ;; Currently, the only supported backend in Guix | |
47 | ("glib" ,glib))) ;; is aspell. (This information might be old) | |
48 | (native-inputs | |
49 | `(("glib:bin" ,glib "bin") | |
50 | ("pkg-config" ,pkg-config))) | |
51 | ||
52 | (synopsis "Multi-backend spell-checking library wrapper") | |
53 | (description | |
54 | "On the surface, Enchant appears to be a generic spell checking library. | |
55 | Looking closer, you'll see the Enchant is more-or-less a fancy wrapper around | |
56 | the dlopen() system call. | |
57 | ||
58 | Enchant steps in to provide uniformity and conformity on top of these libraries, | |
59 | and implement certain features that may be lacking in any individual provider | |
60 | library. Everything should \"just work\" for any and every definition of \"just | |
e881752c | 61 | working\".") |
52b87855 | 62 | (home-page "https://abiword.github.io/enchant/") |
1deac344 | 63 | (license lgpl2.1+))) |