aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/python.scm
diff options
context:
space:
mode:
authorEfraim Flashner2019-07-02 06:50:13 -0500
committerEfraim Flashner2019-07-02 06:50:13 -0500
commit594ac793787759a4503ad2456102c96f5a4533a0 (patch)
tree8529d5b49682ab34aa791b44adb5e611d9eb64e1 /gn/packages/python.scm
parent89fe9c454e6d5c3cf516523bd59bc461d6db53bf (diff)
downloadguix-bioinformatics-594ac793787759a4503ad2456102c96f5a4533a0.tar.gz
gn: Add python-plotly-3.2.1.
Add dependant library python-retrying.
Diffstat (limited to 'gn/packages/python.scm')
-rw-r--r--gn/packages/python.scm47
1 files changed, 47 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index dcd6026..5cf73a1 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -134,6 +134,53 @@ functions.")
(license license:expat))
)
+(define-public python-plotly-3.2.1
+ (package
+ (inherit python-plotly)
+ (name "python-plotly")
+ (version "3.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "plotly" version))
+ (sha256
+ (base32
+ "1ay1plgsckfi7fddl99kvbcx5nifh48ahvszkqvb4d7r008m8sxk"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-decorator" ,python-decorator)
+ ("python-nbformat" ,python-nbformat)
+ ("python-pytz" ,python-pytz)
+ ("python-requests" ,python-requests)
+ ("python-retrying" ,python-retrying)
+ ("python-six" ,python-six)))))
+
+(define-public python-retrying
+ (package
+ (name "python-retrying")
+ (version "1.3.3")
+ (source
+ (origin
+ ;; pypi release doesn't have test library
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rholder/retrying")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1kqipkbdaw5s1xg0gi29awm03vp1x8dz24pjidgxagvkvrjpzhi7"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (home-page "https://github.com/rholder/retrying")
+ (synopsis "General-purpose retrying library")
+ (description "Retrying is a general-purpose retrying library, written in
+Python, to simplify the task of adding retry behavior to just about anything.
+The simplest use case is retrying a flaky function whenever an Exception occurs
+until a value is returned.")
+ (license license:asl2.0)))
+
(define-public python-bagit; guix candidate
(package
(name "python-bagit")