gnu: Add python-charset-normalizer.

* gnu/packages/python-xyz.scm (python-charset-normalizer): New variable.
This commit is contained in:
Hartmut Goebel 2021-09-16 22:58:12 +02:00
parent 0b298cb9f7
commit 12308d19b4
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -11819,6 +11819,27 @@ (define-public python-chardet
(define-public python2-chardet
(package-with-python2 python-chardet))
(define-public python-charset-normalizer
(package
(name "python-charset-normalizer")
(version "2.0.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "charset-normalizer" version))
(sha256
(base32 "0rr3iv2xw4rz5ijnfqk229fw85cq6p6rhqqsilm0ldzncblfg63h"))))
(build-system python-build-system)
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://github.com/ousret/charset_normalizer")
(synopsis "Universal Charset Detector, alternative to Chardet")
(description "This library helps you read text from an unknown charset
encoding. Motivated by @code{chardet}, it tries to resolve the issue by
taking a new approach. All IANA character set names for which the Python core
library provides codecs are supported.")
(license license:expat)))
(define-public python-docopt
(package
(name "python-docopt")