jedi: disable tests

This commit is contained in:
Samuel Leathers 2017-09-14 19:47:07 -04:00
parent 94454384c2
commit 0d9410a573

View File

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