python313Packages.newspaper3k: init at 0.2.8
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
feedparser,
|
||||
requests,
|
||||
pillow,
|
||||
tldextract,
|
||||
lxml,
|
||||
lxml-html-clean,
|
||||
beautifulsoup4,
|
||||
python-dateutil,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "newspaper3k";
|
||||
version = "0.2.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-nxvT4ftI9ADHFav4dcx7Cme33c2H9Qya7rj8u72QBPs=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
feedparser
|
||||
requests
|
||||
pillow
|
||||
tldextract
|
||||
lxml
|
||||
lxml-html-clean
|
||||
beautifulsoup4
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "newspaper" ];
|
||||
|
||||
meta = {
|
||||
description = "Simplified python article discovery & extraction";
|
||||
homepage = "https://pypi.org/project/newspaper3k";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ emaryn ];
|
||||
};
|
||||
}
|
||||
@@ -9971,6 +9971,8 @@ self: super: with self; {
|
||||
|
||||
newick = callPackage ../development/python-modules/newick { };
|
||||
|
||||
newspaper3k = callPackage ../development/python-modules/newspaper3k { };
|
||||
|
||||
newversion = callPackage ../development/python-modules/newversion { };
|
||||
|
||||
nexia = callPackage ../development/python-modules/nexia { };
|
||||
@@ -11239,6 +11241,8 @@ self: super: with self; {
|
||||
|
||||
pip-chill = callPackage ../development/python-modules/pip-chill { };
|
||||
|
||||
pip-install-test = callPackage ../development/python-modules/pip-install-test { };
|
||||
|
||||
pip-requirements-parser = callPackage ../development/python-modules/pip-requirements-parser { };
|
||||
|
||||
pip-system-certs = callPackage ../development/python-modules/pip-system-certs { };
|
||||
|
||||
Reference in New Issue
Block a user