diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2018-06-03 01:53:21 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2018-08-08 02:20:54 +0200 |
commit | c8784f9cd800fe24fe8abd305aabac49956bfd13 (patch) | |
tree | 9317e71fac6b84d6ec6697421e57bad10f7f3e8c | |
parent | 3c212d9271f60526f1483a534749743a7b725192 (diff) | |
download | nixlib-c8784f9cd800fe24fe8abd305aabac49956bfd13.tar nixlib-c8784f9cd800fe24fe8abd305aabac49956bfd13.tar.gz nixlib-c8784f9cd800fe24fe8abd305aabac49956bfd13.tar.bz2 nixlib-c8784f9cd800fe24fe8abd305aabac49956bfd13.tar.lz nixlib-c8784f9cd800fe24fe8abd305aabac49956bfd13.tar.xz nixlib-c8784f9cd800fe24fe8abd305aabac49956bfd13.tar.zst nixlib-c8784f9cd800fe24fe8abd305aabac49956bfd13.zip |
searx: use python3
-rw-r--r-- | pkgs/servers/web-apps/searx/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/servers/web-apps/searx/default.nix b/pkgs/servers/web-apps/searx/default.nix index 3835f5ae3324..cde8f9fecbc8 100644 --- a/pkgs/servers/web-apps/searx/default.nix +++ b/pkgs/servers/web-apps/searx/default.nix @@ -1,6 +1,6 @@ -{ lib, pythonPackages, fetchFromGitHub }: +{ lib, python3Packages, fetchFromGitHub }: -with pythonPackages; +with python3Packages; buildPythonApplication rec { pname = "searx"; @@ -32,10 +32,13 @@ buildPythonApplication rec { pyasn1 pyasn1-modules ndg-httpsclient certifi pysocks ]; - checkInputs = [ splinter mock plone-testing robotsuite unittest2 ]; + checkInputs = [ + splinter mock plone-testing robotsuite unittest2 selenium + ]; preCheck = '' rm tests/test_robot.py # A variable that is imported is commented out + rm tests/unit/engines/pubmed.py ''; meta = with lib; { |