me
/
guix
Archived
1
0
Fork 0

gnu: Add nuspell.

* gnu/packages/enchant.scm (nuspell): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
master
Raghav Gururajan 2020-05-30 15:28:31 -04:00 committed by Danny Milosavljevic
parent e445ae9ae1
commit 5c5dfb6d9e
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 43 additions and 0 deletions

View File

@ -22,17 +22,60 @@
(define-module (gnu packages enchant)
#:use-module (gnu packages)
#:use-module (gnu packages aspell)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages glib)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages libreoffice)
#:use-module (gnu packages man)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages version-control)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix licenses)
#:use-module (srfi srfi-1))
(define-public nuspell
(package
(name "nuspell")
(version "3.1.1")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/nuspell/nuspell.git")
(commit
(string-append "v" version))))
(file-name
(git-file-name name version))
(sha256
(base32 "18zz3rdzlb3knzsd98vw8cfyb3iq0ilipnlz7rz10zgb5ail73s2"))))
(build-system cmake-build-system)
(native-inputs
`(("catch" ,catch-framework2)
("git" ,git-minimal)
("perl" ,perl)
;;FIX-ME: Building with ronn fails.
;;("ronn" ,ronn)
("pkg-config" ,pkg-config)))
(inputs
`(("boost" ,boost)))
(propagated-inputs
`(("icu4c" ,icu4c)))
(synopsis "Fast and safe spellchecking C++ library")
(description "Nuspell is a fast and safe spelling checker software
program. It is designed for languages with rich morphology and complex word
compounding. Nuspell is written in modern C++ and it supports Hunspell
dictionaries.")
(home-page "https://nuspell.github.io/")
(license lgpl3+)))
(define-public enchant
(package
(name "enchant")