nixpkgs/pkgs/development/python-modules/jedi/default.nix

30 lines
782 B
Nix
Raw Normal View History

2017-10-25 11:04:35 -07:00
{ stdenv, buildPythonPackage, fetchPypi, pytest, glibcLocales, tox, pytestcov, parso }:
2017-04-20 04:42:20 -07:00
buildPythonPackage rec {
pname = "jedi";
2020-07-11 09:00:22 -07:00
version = "0.17.1";
2017-04-20 04:42:20 -07:00
src = fetchPypi {
inherit pname version;
2020-07-11 09:00:22 -07:00
sha256 = "0qrgyn0znpib485hk0mi68wab6nhwqd3pyjxvp7jn6kijr7mszc0";
2017-04-20 04:42:20 -07:00
};
2017-09-14 16:47:07 -07:00
checkInputs = [ pytest glibcLocales tox pytestcov ];
2017-04-20 04:42:20 -07:00
2017-10-25 11:04:35 -07:00
propagatedBuildInputs = [ parso ];
2017-04-20 04:42:20 -07:00
checkPhase = ''
2017-09-01 11:05:56 -07:00
LC_ALL="en_US.UTF-8" py.test test
2017-04-20 04:42:20 -07:00
'';
2017-09-14 16:47:07 -07:00
# tox required for tests: https://github.com/davidhalter/jedi/issues/808
doCheck = false;
2017-04-20 04:42:20 -07:00
2017-09-14 16:47:07 -07:00
meta = with stdenv.lib; {
homepage = "https://github.com/davidhalter/jedi";
2017-04-20 04:42:20 -07:00
description = "An autocompletion tool for Python that can be used for text editors";
2017-09-14 16:47:07 -07:00
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ ];
2017-04-20 04:42:20 -07:00
};
}