diff --git a/pkgs/development/python-modules/jedi/default.nix b/pkgs/development/python-modules/jedi/default.nix index 1199435c7d2..5d904ee311f 100644 --- a/pkgs/development/python-modules/jedi/default.nix +++ b/pkgs/development/python-modules/jedi/default.nix @@ -1,9 +1,4 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pytest -, glibcLocales -}: +{ stdenv, buildPythonPackage, fetchPypi, pytest, glibcLocales, tox, pytestcov }: buildPythonPackage rec { pname = "jedi"; @@ -15,19 +10,19 @@ buildPythonPackage rec { sha256 = "7abb618cac6470ebbd142e59c23daec5e6e063bfcecc8a43a037d2ab57276f4e"; }; - checkInputs = [ pytest glibcLocales ]; + checkInputs = [ pytest glibcLocales tox pytestcov ]; checkPhase = '' LC_ALL="en_US.UTF-8" py.test test ''; - # 7 failed - #doCheck = false; + # tox required for tests: https://github.com/davidhalter/jedi/issues/808 + doCheck = false; - meta = { + meta = with stdenv.lib; { homepage = https://github.com/davidhalter/jedi; description = "An autocompletion tool for Python that can be used for text editors"; - license = lib.licenses.lgpl3Plus; - maintainers = with lib.maintainers; [ garbas ]; + license = licenses.lgpl3Plus; + maintainers = with maintainers; [ garbas ]; }; }