Open efim opened 3 years ago
Outline of the problem:
@gytis-ivaskevicius do you know of any projects in nixpkgs that have similar setup - allowing separate projects to be inserted as plugins, with these plugins being pakcaged with nix also?
While looking for other external plugins for Searx I found separate repository that's propably setting up "thegreenwebfoundation" work as a 'external plugin'
it contains some additonal development, maybe it is a great candidate for the packaging
other repos that mention Searx & plugin seem to be plugins for /other/ projects that integrate searx into them (i.e not python code for Searx)
maybe this one is for Searx, but I'm not sure
There's discussion between TGWF developer & Searx team, will try to figure out what's current stance of Searx on plugins https://github.com/searx/searx/issues/1881
it seems that right now it's hard to find other solutions written as searx plugins
We usually have feature flags for optional features as such. Here an example: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/ffmpeg-full/default.nix
What needs to be packaged:
The branch
ca-green-plugin
is lagging behind Searx master by a lotSearx now has some documentation on setting up "external" plugins: https://searx.github.io/searx/dev/plugins.html
And there's an example https://github.com/asciimoo/searx_external_plugin_example
Maybe there's a good way to have general solution that would allow easy development of external plugins with flake