2018-09-12 00:26:25 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
|
|
|
, requests, chardet, cssselect, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyReadability";
|
|
|
|
version = "0.4.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1k6fq416pdmjcdqh6gdxl0y0k8kj1zlpzwp5574xsvsha18p2zpn";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests chardet cssselect lxml ];
|
|
|
|
|
|
|
|
# ModuleNotFoundError: No module named 'tests'
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/hyperlinkapp/python-readability";
|
2018-09-12 00:26:25 +01:00
|
|
|
description = "fast python port of arc90's readability tool, updated to match latest readability.js!";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|