guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: Add python-nr-date.


From: guix-commits
Subject: 02/07: gnu: Add python-nr-date.
Date: Mon, 15 Jan 2024 17:34:12 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit aa51d1d25fbfd711e5f863c0c818f6b05f33c6db
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 15 22:44:17 2024 +0100

    gnu: Add python-nr-date.
    
    * gnu/packages/python-xyz.scm (python-nr-date): New variable.
    
    Change-Id: I4251aef073df29ccada70f1398bce38cfb8962ba
---
 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 f224ab4eb8..8d0564e25b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1429,6 +1429,26 @@ generator MkDocs.")
 bindings to the C++ random forest implementation, ranger, using Cython.")
     (license license:gpl3+)))
 
+(define-public python-nr-date
+  (package
+    (name "python-nr-date")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "nr_date" version))
+       (sha256
+        (base32 "1rnjyykjp41mqz6h1vx18jblq97gi5m5x7dgasyaihnd7fhswhq6"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #false)) ;there are none
+    (propagated-inputs (list python-dataclasses))
+    (native-inputs (list python-poetry-core))
+    (home-page "https://github.com/NiklasRosenstein/python-nr.date";)
+    (synopsis "Fast, regex-based date parsing library in plain Python")
+    (description "This package provides a fast, regex-based date parsing
+library in pure Python.")
+    (license license:expat)))
+
 (define-public python-slixmpp
   (package
     (name "python-slixmpp")



reply via email to

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