diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-16 23:09:22 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-17 13:03:50 -0500 |
commit | 0c32bf01172118967d8a7a349313c4b4b06c0012 (patch) | |
tree | 196e8c96f9a3f32a2880d2103d638945776f511c | |
parent | fc436dbaea68ef727ec7bdba80e4bae4fcfe27b5 (diff) | |
download | patches-0c32bf01172118967d8a7a349313c4b4b06c0012.tar patches-0c32bf01172118967d8a7a349313c4b4b06c0012.tar.gz |
gnu: Add Lingua-EN-FindNumber.
* gnu/packages/language.scm (perl-lingua-en-findnumber): New variable.
-rw-r--r-- | gnu/packages/language.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index fbf27f0e71..24e7fa447c 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -23,6 +23,28 @@ #:use-module (guix build-system perl) #:use-module (guix download)) +(define-public perl-lingua-en-findnumber + (package + (name "perl-lingua-en-findnumber") + (version "1.30") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/" + "Lingua-EN-FindNumber-" version ".tar.gz")) + (sha256 + (base32 + "0g5h6bwwggizwh3dd3xyx92537s4qy8nspshp1lrm9qlxh3prc28")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-lingua-en-words2nums" ,perl-lingua-en-words2nums))) + (home-page "http://search.cpan.org/dist/Lingua-EN-FindNumber") + (synopsis "Locate (written) numbers in English text ") + (description "This module provides a regular expression for finding +numbers in English text. It also provides functions for extracting and +manipulating such numbers.") + (license (package-license perl)))) + (define-public perl-lingua-en-words2nums (package (name "perl-lingua-en-words2nums") |