@@ -1,9 +1,4 @@
1−{ lib
2−, buildPythonPackage
3−, fetchPypi
4−, pytest
5−, glibcLocales
6−}:
1+{ stdenv, buildPythonPackage, fetchPypi, pytest, glibcLocales, tox, pytestcov }:
72
83buildPythonPackage rec {
94 pname = "jedi";
@@ -15,19 +10,19 @@ buildPythonPackage rec {
1510 sha256 = "7abb618cac6470ebbd142e59c23daec5e6e063bfcecc8a43a037d2ab57276f4e";
1611 };
1712
18− checkInputs = [ pytest glibcLocales ];
13+ checkInputs = [ pytest glibcLocales tox pytestcov ];
1914
2015 checkPhase = ''
2116 LC_ALL="en_US.UTF-8" py.test test
2217 '';
2318
24− # 7 failed
25− #doCheck = false;
19+ # tox required for tests: https://github.com/davidhalter/jedi/issues/808
20+ doCheck = false;
2621
27− meta = {
22+ meta = with stdenv.lib; {
2823 homepage = https://github.com/davidhalter/jedi;
2924 description = "An autocompletion tool for Python that can be used for text editors";
30− license = lib.licenses.lgpl3Plus;
31− maintainers = with lib.maintainers; [ garbas ];
25+ license = licenses.lgpl3Plus;
26+ maintainers = with maintainers; [ garbas ];
3227 };
3328}