package feedsearch-crawler
This commit is contained in:
parent
6438971c8c
commit
db670fc172
48
pkgs/feedsearch-crawler/default.nix
Normal file
48
pkgs/feedsearch-crawler/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "feedsearch-crawler";
|
||||||
|
version = "2022-05-28";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "DBeath";
|
||||||
|
repo = "feedsearch-crawler";
|
||||||
|
rev = "f49a6f5a07e796e359c4482fd29305b1a019f71f";
|
||||||
|
hash = "sha256-pzvyeXzqdi8pRjk2+QjKhJfgtxbgVT6C08K9fhVFVmY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'w3lib = "^1.22.0"' 'w3lib = "*"' \
|
||||||
|
--replace 'aiodns = "^2.0.0"' 'aiodns = "*"' \
|
||||||
|
--replace 'uvloop = "^0.15.2"' 'uvloop = "*"'
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
aiodns
|
||||||
|
aiohttp
|
||||||
|
beautifulsoup4
|
||||||
|
brotlipy
|
||||||
|
cchardet
|
||||||
|
feedparser
|
||||||
|
python-dateutil
|
||||||
|
uvloop
|
||||||
|
w3lib
|
||||||
|
yarl
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://feedsearch.dev";
|
||||||
|
description = "Crawl sites for RSS, Atom, and JSON feeds";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ colinsane ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -46,6 +46,7 @@
|
||||||
|
|
||||||
#### TEMPORARY: PACKAGES WAITING TO BE UPSTREAMED
|
#### TEMPORARY: PACKAGES WAITING TO BE UPSTREAMED
|
||||||
kaiteki = prev.callPackage ./kaiteki { };
|
kaiteki = prev.callPackage ./kaiteki { };
|
||||||
|
feedsearch-crawler = prev.callPackage ./feedsearch-crawler { };
|
||||||
lightdm-mobile-greeter = prev.callPackage ./lightdm-mobile-greeter { };
|
lightdm-mobile-greeter = prev.callPackage ./lightdm-mobile-greeter { };
|
||||||
browserpass-extension = prev.callPackage ./browserpass-extension { };
|
browserpass-extension = prev.callPackage ./browserpass-extension { };
|
||||||
gopass-native-messaging-host = prev.callPackage ./gopass-native-messaging-host { };
|
gopass-native-messaging-host = prev.callPackage ./gopass-native-messaging-host { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user