Commit 88ffc800 authored by P-A Bouttier's avatar P-A Bouttier
Browse files

Add matplotlib 3.0.1

parent fddee1a7
......@@ -598,6 +598,40 @@
("python-pycairo" ,python-pycairo)
("python-cairocffi" ,python-cairocffi)))))
(define-public python-matplotlib-3.0.1
(package (inherit python-matplotlib)
(version "3.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "matplotlib" version))
(sha256
(base32
"1pa4frv4jg41g00zqshxhl56k7y4kyjmpynhm8bpcb5ca0n7iy3h"))))
(arguments
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'fix-and-disable-failing-tests))))
(propagated-inputs ; the following packages are all needed at run time
`(("python-cycler" ,python-cycler)
("python-kiwisolver" ,python-kiwisolver)
("python-pyparsing" ,python-pyparsing)
("python-pygobject" ,python-pygobject)
("gobject-introspection" ,gobject-introspection)
("python-tkinter" ,python "tk")
("python-dateutil" ,python-dateutil)
("python-numpy" ,python-numpy)
("python-pillow" ,python-pillow)
("python-pytz" ,python-pytz)
("python-six" ,python-six)
;; From version 1.4.0 'matplotlib' makes use of 'cairocffi' instead of
;; 'pycairo'. However, 'pygobject' makes use of a 'pycairo' 'context'
;; object. For this reason we need to import both libraries.
;; https://cairocffi.readthedocs.io/en/stable/cffi_api.html#converting-pycairo-wrappers-to-cairocffi
("python-pycairo" ,python-pycairo)
("python-cairocffi" ,python-cairocffi)))))
(define-public python-numpy-1.18
(package (inherit python-numpy)
(version "1.18.5")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment