3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.pyreadability: init at 0.4.0

This commit is contained in:
rnhmjoj 2018-09-12 01:26:25 +02:00
parent e281f0e686
commit 75b2058aff
No known key found for this signature in database
GPG key ID: 91BE884FBA4B591A
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, fetchPypi, buildPythonPackage
, requests, chardet, cssselect, lxml
, pytest
}:
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;
};
}

View file

@ -2000,6 +2000,8 @@ in {
requests-cache = callPackage ../development/python-modules/requests-cache { };
requests-file = callPackage ../development/python-modules/requests-file { };
requests-kerberos = callPackage ../development/python-modules/requests-kerberos { };
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {};
@ -11141,6 +11143,8 @@ in {
};
});
pyreadability = callPackage ../development/python-modules/pyreadability { };
pyscss = buildPythonPackage rec {
name = "pyScss-${version}";
version = "1.3.5";
@ -17071,6 +17075,8 @@ EOF
textacy = callPackage ../development/python-modules/textacy { };
tldextract = callPackage ../development/python-modules/tldextract { };
pyemd = callPackage ../development/python-modules/pyemd { };
pulp = callPackage ../development/python-modules/pulp { };