Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 786 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytest, glibcLocales, tox, pytestcov }: 2 3buildPythonPackage rec { 4 pname = "jedi"; 5 version = "0.10.2"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "7abb618cac6470ebbd142e59c23daec5e6e063bfcecc8a43a037d2ab57276f4e"; 11 }; 12 13 checkInputs = [ pytest glibcLocales tox pytestcov ]; 14 15 checkPhase = '' 16 LC_ALL="en_US.UTF-8" py.test test 17 ''; 18 19 # tox required for tests: https://github.com/davidhalter/jedi/issues/808 20 doCheck = false; 21 22 meta = with stdenv.lib; { 23 homepage = https://github.com/davidhalter/jedi; 24 description = "An autocompletion tool for Python that can be used for text editors"; 25 license = licenses.lgpl3Plus; 26 maintainers = with maintainers; [ garbas ]; 27 }; 28}