searx: add NixOS test to passthu.tests

This commit is contained in:
rnhmjoj 2021-01-11 08:39:19 +01:00
parent 88f71722ea
commit 2a458003d9
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -1,4 +1,4 @@
{ lib, python3, python3Packages, fetchFromGitHub, fetchpatch }:
{ lib, nixosTests, python3, python3Packages, fetchFromGitHub, fetchpatch }:
with python3Packages;
@ -40,6 +40,8 @@ toPythonModule (buildPythonApplication rec {
ln -s ../${python3.sitePackages}/searx/static $out/share/
'';
passthru.tests = { inherit (nixosTests) searx; };
meta = with lib; {
homepage = "https://github.com/asciimoo/searx";
description = "A privacy-respecting, hackable metasearch engine";