2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
29 lines
794 B
Nix
29 lines
794 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pytest, glibcLocales, tox, pytestcov, parso }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jedi";
|
|
version = "0.17.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "df40c97641cb943661d2db4c33c2e1ff75d491189423249e989bcea4464f3030";
|
|
};
|
|
|
|
checkInputs = [ pytest glibcLocales tox pytestcov ];
|
|
|
|
propagatedBuildInputs = [ parso ];
|
|
|
|
checkPhase = ''
|
|
LC_ALL="en_US.UTF-8" py.test test
|
|
'';
|
|
|
|
# tox required for tests: https://github.com/davidhalter/jedi/issues/808
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/davidhalter/jedi";
|
|
description = "An autocompletion tool for Python that can be used for text editors";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|