searxng: add nixosTests

This commit is contained in:
Pol Dellaiera 2024-06-19 07:04:52 +02:00
parent da9d79d6bc
commit 7e1f057a06
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -2,6 +2,7 @@
lib,
python3,
fetchFromGitHub,
nixosTests
}:
python3.pkgs.toPythonModule (
@ -76,6 +77,12 @@ python3.pkgs.toPythonModule (
cp searx/limiter.toml $out/${python3.sitePackages}/searx/limiter.toml
'';
passthru = {
tests = {
searxng = nixosTests.searx;
};
};
meta = with lib; {
homepage = "https://github.com/searxng/searxng";
description = "Fork of Searx, a privacy-respecting, hackable metasearch engine";