gnu: Add python-backports-csv.

* gnu/packages/python.scm (python-backports-csv, python2-backports-csv):
New variables.
This commit is contained in:
Oleg Pykhalov 2017-07-15 10:19:35 +03:00 committed by Danny Milosavljevic
parent 7734ed7af7
commit 4ff9e8685f
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 25 additions and 0 deletions

View File

@ -6373,6 +6373,31 @@ connection to each user.")
(define-public python2-backports-abc
(package-with-python2 python-backports-abc))
(define-public python-backports-csv
(package
(name "python-backports-csv")
(version "1.0.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "backports.csv" version))
(sha256
(base32
"1imzbrradkfn8s2m1qcimyn74dn1mz2p3j381jljn166rf2i6hlc"))))
(build-system python-build-system)
(home-page "https://github.com/ryanhiebert/backports.csv")
(synopsis "Backport of Python 3's csv module for Python 2")
(description
"Provides a backport of Python 3's @code{csv} module for parsing
comma separated values. The API of the @code{csv} module in Python 2
is drastically different from the @code{csv} module in Python 3.
This is due, for the most part, to the difference between str in
Python 2 and Python 3.")
(license license:psfl)))
(define-public python2-backports-csv
(package-with-python2 python-backports-csv))
(define-public python2-backports-shutil-get-terminal-size
(package
(name "python2-backports-shutil-get-terminal-size")