8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
25 lines
638 B
Nix
25 lines
638 B
Nix
{ 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 = {
|
|
homepage = "https://github.com/hyperlinkapp/python-readability";
|
|
description = "fast python port of arc90's readability tool, updated to match latest readability.js!";
|
|
license = lib.licenses.asl20;
|
|
};
|
|
|
|
}
|