mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
python313Packages.newspaper3k: init at 0.2.8
This commit is contained in:
parent
f194829964
commit
e54fd3c32a
2 changed files with 47 additions and 0 deletions
43
pkgs/development/python-modules/newspaper3k/default.nix
Normal file
43
pkgs/development/python-modules/newspaper3k/default.nix
Normal file
|
@ -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 { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue