mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add python-chardet.
* gnu/packages/python.scm (python-chardet, python2-chardet): New variables.
This commit is contained in:
parent
85d4aeacc4
commit
816a653884
1 changed files with 27 additions and 0 deletions
|
@ -5817,3 +5817,30 @@ (define-public python-debian
|
||||||
|
|
||||||
(define-public python2-debian
|
(define-public python2-debian
|
||||||
(package-with-python2 python-debian))
|
(package-with-python2 python-debian))
|
||||||
|
|
||||||
|
(define-public python-chardet
|
||||||
|
(package
|
||||||
|
(name "python-chardet")
|
||||||
|
(version "2.3.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://pypi.python.org/packages/source/c/chardet/chardet-"
|
||||||
|
version
|
||||||
|
".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1ak87ikcw34fivcgiz2xvi938dmclh078az65l9x3rmgljrkhgp5"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("python-setuptools" ,python-setuptools)))
|
||||||
|
(home-page "https://github.com/chardet/chardet")
|
||||||
|
(synopsis "Universal encoding detector for Python 2 and 3")
|
||||||
|
(description
|
||||||
|
"This package provides @code{chardet}, a Python module that can
|
||||||
|
automatically detect a wide range of file encodings.")
|
||||||
|
(license lgpl2.1+)))
|
||||||
|
|
||||||
|
(define-public python2-chardet
|
||||||
|
(package-with-python2 python-chardet))
|
||||||
|
|
Loading…
Reference in a new issue