feedsearch_crawler: add to all python3XXPackages

This commit is contained in:
colin 2023-01-13 08:50:48 +00:00
parent fd7acc8fc8
commit b6d94c2e08
2 changed files with 28 additions and 5 deletions

View File

@ -45,8 +45,14 @@
fractal-latest = prev.callPackage ../pkgs/fractal-latest { };
#### TEMPORARY: PACKAGES WAITING TO BE UPSTREAMED
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(py-final: py-prev: {
feedsearch-crawler = py-final.callPackage ../pkgs/feedsearch-crawler { };
})
];
kaiteki = prev.callPackage ../pkgs/kaiteki { };
feedsearch-crawler = prev.callPackage ../pkgs/feedsearch-crawler { };
lightdm-mobile-greeter = prev.callPackage ../pkgs/lightdm-mobile-greeter { };
browserpass-extension = prev.callPackage ../pkgs/browserpass-extension { };
gopass-native-messaging-host = prev.callPackage ../pkgs/gopass-native-messaging-host { };

View File

@ -1,9 +1,22 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python3
# nativeBuildInputs python packages
, poetry-core
# propagatedBuildInputs python packages
, aiodns
, aiohttp
, beautifulsoup4
, brotlipy
, cchardet
, feedparser
, python-dateutil
, uvloop
, w3lib
, yarl
}:
python3.pkgs.buildPythonApplication rec {
buildPythonPackage rec {
pname = "feedsearch-crawler";
version = "2022-05-28";
format = "pyproject";
@ -15,7 +28,7 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-pzvyeXzqdi8pRjk2+QjKhJfgtxbgVT6C08K9fhVFVmY=";
};
nativeBuildInputs = with python3.pkgs; [
nativeBuildInputs = [
poetry-core
];
@ -26,7 +39,7 @@ python3.pkgs.buildPythonApplication rec {
--replace 'uvloop = "^0.15.2"' 'uvloop = "*"'
'';
propagatedBuildInputs = with python3.pkgs; [
propagatedBuildInputs = [
aiodns
aiohttp
beautifulsoup4
@ -39,6 +52,10 @@ python3.pkgs.buildPythonApplication rec {
yarl
];
pythonImportsCheck = [
"feedsearch_crawler"
];
meta = with lib; {
homepage = "https://feedsearch.dev";
description = "Crawl sites for RSS, Atom, and JSON feeds";