searx: use python3

This commit is contained in:
rnhmjoj
2018-06-03 01:53:21 +02:00
parent 3c212d9271
commit c8784f9cd8

View File

@@ -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; {