guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/27: gnu: Add Lingua-EN-Number-IsOrdinal.


From: Eric Bavier
Subject: 11/27: gnu: Add Lingua-EN-Number-IsOrdinal.
Date: Tue, 17 Mar 2015 18:15:20 +0000

bavier pushed a commit to branch master
in repository guix.

commit 930768b3e45ac66b2e868fe413ca2e35634c26ee
Author: Eric Bavier <address@hidden>
Date:   Mon Mar 16 23:21:22 2015 -0500

    gnu: Add Lingua-EN-Number-IsOrdinal.
    
    * gnu/packages/language.scm (perl-lingua-en-number-isordinal): New
      variable.
---
 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 2fdffa0..f08c5e8 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]