aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/python.scm
diff options
context:
space:
mode:
authorEfraim Flashner2023-03-22 13:08:02 +0200
committerEfraim Flashner2023-03-22 13:08:02 +0200
commit80c23f2fcbcfdb872a251163ff510f58a7b33654 (patch)
treef6ef8cbcc41f14d92a074fe6250ef2b1aa267e67 /gn/packages/python.scm
parentb0bad6e497435e0e1f305dd7c9df23204e29f8aa (diff)
downloadguix-bioinformatics-80c23f2fcbcfdb872a251163ff510f58a7b33654.tar.gz
Add python-py-dateutil.
* gn/packages/python.scm (python-py-dateutil): New variable.
Diffstat (limited to 'gn/packages/python.scm')
-rw-r--r--gn/packages/python.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index b3aaec9..26b73b2 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -30,6 +30,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix build-system python)
#:use-module (srfi srfi-1))
@@ -833,6 +834,32 @@ spreadsheets without the need for COM objects.")
(base32
"1lg1klrczvzfan89y3bl9ykrknl3nb01vvai37fkww24apzyibjf"))))))
+(define-public python-py-dateutil
+ (package
+ (name "python-py-dateutil")
+ (version "2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "py-dateutil" version))
+ (sha256
+ (base32
+ "0j5hyhn2yqwyapbhvdvw14a0ydhdl6ddw95nii091iarf6hjryky"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f ; Package is unmaintained since ~2014
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "test.py")))))))
+ (propagated-inputs (list python-six))
+ (home-page "https://bitbucket.org/cld/dateutil")
+ (synopsis "Extensions to the standard Python datetime module")
+ (description "Extensions to the standard Python datetime module")
+ (license license:bsd-3)))
+
(define-public python-arvados-python-client
(package
(name "python-arvados-python-client")