mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add python2-openpyxl.
* gnu/packages/python-xyz.scm (python2-openpyxl): New package. (python-openpyxl)[properties]: Add reference to python2-openpyxl. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
545441735a
commit
1e30245406
1 changed files with 17 additions and 0 deletions
|
@ -1666,8 +1666,25 @@ (define-public python-openpyxl
|
||||||
(description "This Python library allows reading and writing to the Excel XLSX, XLSM,
|
(description "This Python library allows reading and writing to the Excel XLSX, XLSM,
|
||||||
XLTX and XLTM file formats that are defined by the Office Open XML (OOXML)
|
XLTX and XLTM file formats that are defined by the Office Open XML (OOXML)
|
||||||
standard.")
|
standard.")
|
||||||
|
(properties `((python2-variant . ,(delay python2-openpyxl))))
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python2-openpyxl
|
||||||
|
(let ((base (package-with-python2
|
||||||
|
(strip-python2-variant python-openpyxl))))
|
||||||
|
(package
|
||||||
|
(inherit base)
|
||||||
|
;; This is the latest version that has python2 support
|
||||||
|
(version "2.6.4")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "openpyxl" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1qzjj8nwj4dn0mhq1j64f136afiqqb81lvqiikipz3g1g0b80lqx"))))
|
||||||
|
(arguments '(#:tests? #f))))) ; No test suite.
|
||||||
|
|
||||||
(define-public python-eventlet
|
(define-public python-eventlet
|
||||||
(package
|
(package
|
||||||
(name "python-eventlet")
|
(name "python-eventlet")
|
||||||
|
|
Loading…
Reference in a new issue