You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.3 KiB

  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. (define-module (gnu packages enchant)
  19. #:use-module (gnu packages)
  20. #:use-module (gnu packages aspell)
  21. #:use-module (gnu packages glib)
  22. #:use-module (gnu packages pkg-config)
  23. #:use-module (guix packages)
  24. #:use-module (guix download)
  25. #:use-module (guix build-system gnu)
  26. #:use-module (guix licenses))
  27. (define-public enchant
  28. (package
  29. (name "enchant")
  30. (version "1.6.0")
  31. (source
  32. (origin
  33. (method url-fetch)
  34. (uri
  35. (string-append "http://www.abisource.com/downloads/" name "/" version
  36. "/" name "-" version ".tar.gz"))
  37. (sha256
  38. (base32 "0zq9yw1xzk8k9s6x83n1f9srzcwdavzazn3haln4nhp9wxxrxb1g"))))
  39. (build-system gnu-build-system)
  40. (inputs
  41. `(("aspell" ,aspell) ;; Currently, the only supported backend in Guix
  42. ("glib" ,glib))) ;; is aspell. (This information might be old)
  43. (native-inputs
  44. `(("glib:bin" ,glib "bin")
  45. ("pkg-config" ,pkg-config)))
  46. (synopsis "Multi-backend spell-checking library wrapper")
  47. (description
  48. "On the surface, Enchant appears to be a generic spell checking library.
  49. Looking closer, you'll see the Enchant is more-or-less a fancy wrapper around
  50. the dlopen() system call.
  51. Enchant steps in to provide uniformity and conformity on top of these libraries,
  52. and implement certain features that may be lacking in any individual provider
  53. library. Everything should \"just work\" for any and every definition of \"just
  54. working.\"")
  55. (home-page "http://www.abisource.com/projects/enchant")
  56. (license lgpl2.1+)))