aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-03-27 10:26:24 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:00 +0200
commitf44c312e2139887103b9bbd07d2d9034f150acd0 (patch)
treefbcf4f96a133c331a9551e2e2e83566ca79ddb0c /gnu
parentbd0b6a1b6812590ebfd68a407cc8051c7139774b (diff)
downloadguix-f44c312e2139887103b9bbd07d2d9034f150acd0.tar.gz
guix-f44c312e2139887103b9bbd07d2d9034f150acd0.zip
gnu: enchant: Improve package style.
* gnu/packages/enchant.scm (enchant)[arguments]: Use G-expressions. [native-inputs]: Drop input labels. [description]: Be more informative and less technical. Change-Id: I908fbbfcdc9f21beb1d6e05eec2dbc154b429831 Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/enchant.scm30
1 files changed, 15 insertions, 15 deletions
diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm
index fa2b1fe170..f0594ef828 100644
--- a/gnu/packages/enchant.scm
+++ b/gnu/packages/enchant.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages version-control)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix download)
@@ -83,29 +84,28 @@ dictionaries.")
"1bn7z8155czgzlnq2n4c915cl1vd3v95h1bghic3szy7c8q94rgm"))))
(build-system gnu-build-system)
(arguments
- '(#:configure-flags '("--disable-static"
- ;; Tests require a relocatable build.
- "--enable-relocatable")))
+ (list
+ #:configure-flags
+ #~(list"--disable-static"
+ ;; Tests require a relocatable build.
+ "--enable-relocatable")))
(inputs
(list aspell hunspell))
(propagated-inputs
;; Required by enchant.pc.
(list glib))
(native-inputs
- `(("glib:bin" ,glib "bin")
- ("groff" ,groff)
- ("pkg-config" ,pkg-config)
- ("unittest-cpp" ,unittest-cpp)))
+ (list `(,glib "bin") groff pkg-config unittest-cpp))
(synopsis "Multi-backend spell-checking library wrapper")
(description
- "On the surface, Enchant appears to be a generic spell checking library.
-Looking closer, you'll see the Enchant is more-or-less a fancy wrapper around
-the dlopen() system call.
-
-Enchant steps in to provide uniformity and conformity on top of these libraries,
-and implement certain features that may be lacking in any individual provider
-library. Everything should \"just work\" for any and every definition of \"just
-working\".")
+ "Enchant is a library---and command-line program---that wraps a number of
+different spelling libraries and programs with a consistent interface. By
+using Enchant, you can use a wide range of spelling libraries, including some
+specialized for particular languages, without needing to program to each
+library's interface. If it's not convenient to call a C library, you can
+access most of Enchant's functionality via the @command{enchant} program,
+which communicates over a pipe, like Ispell, and is indeed
+Ispell-compatible.")
(home-page "https://abiword.github.io/enchant/")
(license lgpl2.1+)))