diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-16 23:21:22 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-17 13:03:50 -0500 |
commit | 930768b3e45ac66b2e868fe413ca2e35634c26ee (patch) | |
tree | 664351d48467c87d142a05bcd3a34c7f832f1da8 | |
parent | 4812a813a272261385d34d432cd1f2c46d403704 (diff) | |
download | guix-930768b3e45ac66b2e868fe413ca2e35634c26ee.tar guix-930768b3e45ac66b2e868fe413ca2e35634c26ee.tar.gz |
gnu: Add Lingua-EN-Number-IsOrdinal.
* gnu/packages/language.scm (perl-lingua-en-number-isordinal): New
variable.
-rw-r--r-- | gnu/packages/language.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 2fdffa0b72..f08c5e8f62 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -89,6 +89,30 @@ with three new functions for determining plurality of a word and forcefully converting a word to singular or plural.") (license (package-license perl)))) +(define-public perl-lingua-en-number-isordinal + (package + (name "perl-lingua-en-number-isordinal") + (version "0.04") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/" + "Lingua-EN-Number-IsOrdinal-" version ".tar.gz")) + (sha256 + (base32 + "1321fm4pyqcamffd0qsjm1gb07ijqndlb29qkcqf22kaibngfm4i")))) + (build-system perl-build-system) + (native-inputs + `(("perl-try-tiny" ,perl-try-tiny) + ("perl-test-fatal" ,perl-test-fatal))) + (propagated-inputs + `(("perl-lingua-en-findnumber" ,perl-lingua-en-findnumber))) + (home-page "http://search.cpan.org/dist/Lingua-EN-Number-IsOrdinal") + (synopsis "Detect if English number is ordinal or cardinal") + (description "This module will tell you if a number, either in words or as +digits, is a cardinal or ordinal number.") + (license (package-license perl)))) + (define-public perl-lingua-en-words2nums (package (name "perl-lingua-en-words2nums") |