guix-commits
[Top][All Lists]
Advanced

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

08/09: gnu: Add python-langdetect.


From: guix-commits
Subject: 08/09: gnu: Add python-langdetect.
Date: Mon, 19 Jul 2021 13:58:43 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit c65183b628eed56a9c915b33830b1525701e8526
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Thu Jul 8 03:55:26 2021 +0000

    gnu: Add python-langdetect.
    
    * gnu/packages/python-xyz.scm (python-langdetect): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 46419d4..a70839d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10414,6 +10414,26 @@ your package is installed, via @code{pkg_resources} 
(part of
 primary use case is APIs defined before keyword-only parameters existed.")
     (license license:gpl3+)))
 
+(define-public python-langdetect
+  (package
+    (name "python-langdetect")
+    (version "1.0.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "langdetect" version))
+       (sha256
+        (base32 "1805svvb7xjm4sf1j7b6nc3409x37pd1xmabfwwjf1ldkzwgxhfb"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-six" ,python-six)))
+    (home-page "https://github.com/Mimino666/langdetect";)
+    (synopsis "Language detection library")
+    (description
+     "This library is a port of Nakatani Shuyo's language-detection library
+(version from 03/03/2014) to Python.")
+    (license license:expat)))
+
 (define-public python-pyasn1
   (package
     (name "python-pyasn1")



reply via email to

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