diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2018-09-12 01:26:25 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2018-09-12 03:23:04 +0200 |
commit | 75b2058aff6bfa56024439edfc7edaf5c3e7a551 (patch) | |
tree | 6ec298b1c07719eac868f7bd3a8575a5bf55693e /pkgs/development/python-modules | |
parent | e281f0e68631af7c1ff6e20f1b84683a117b016d (diff) | |
download | nixlib-75b2058aff6bfa56024439edfc7edaf5c3e7a551.tar nixlib-75b2058aff6bfa56024439edfc7edaf5c3e7a551.tar.gz nixlib-75b2058aff6bfa56024439edfc7edaf5c3e7a551.tar.bz2 nixlib-75b2058aff6bfa56024439edfc7edaf5c3e7a551.tar.lz nixlib-75b2058aff6bfa56024439edfc7edaf5c3e7a551.tar.xz nixlib-75b2058aff6bfa56024439edfc7edaf5c3e7a551.tar.zst nixlib-75b2058aff6bfa56024439edfc7edaf5c3e7a551.zip |
python.pkgs.pyreadability: init at 0.4.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pyreadability/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyreadability/default.nix b/pkgs/development/python-modules/pyreadability/default.nix new file mode 100644 index 000000000000..a95074b906e3 --- /dev/null +++ b/pkgs/development/python-modules/pyreadability/default.nix @@ -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; + }; + +} |