gnu: Add python-readability.

* gnu/packages/python-xyz.scm (python-readability): New variable.
This commit is contained in:
Léo Le Bouter 2021-03-06 00:00:24 +01:00
parent ae2231559c
commit db5a70c81d
No known key found for this signature in database
GPG key ID: 45A8B1E86BCD10A6

View file

@ -24016,3 +24016,27 @@ (define-public python-jinja2-cli
"This package provides a command-line interface (CLI) to the Jinja2
template engine.")
(license license:bsd-3)))
(define-public python-readability
(package
(name "python-readability")
(version "0.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "readability" version))
(sha256
(base32
"1b8gq3g2zwvx0aivvdg56cc0bn7xw6f2v6psmxdx9aiipkw0s0zr"))))
(build-system python-build-system)
(home-page
"https://github.com/andreasvc/readability/")
(synopsis
"Measure the readability of a given text using surface
characteristics")
(description
"This package provides a Python library that is an implementation of
traditional readability measures based on simple surface
characteristics. These measures are basically linear regressions based on the
number of words, syllables, and sentences.")
(license license:asl2.0)))