forked from mirrors/nixpkgs
python3.pkgs.jedi-language-server: init at 0.34.8
This commit is contained in:
parent
0a79063bac
commit
c02d778b1c
|
@ -0,0 +1,56 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, poetry
|
||||
, docstring-to-markdown
|
||||
, jedi
|
||||
, pygls
|
||||
, pytestCheckHook
|
||||
, pyhamcrest
|
||||
, python-jsonrpc-server
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jedi-language-server";
|
||||
version = "0.34.8";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pappasam";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-mJGgDDjPZXde4M4OHwj81KYoaFXFAwOZ+v18YE+arFE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docstring-to-markdown
|
||||
jedi
|
||||
pygls
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pyhamcrest
|
||||
python-jsonrpc-server
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
HOME="$(mktemp -d)"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jedi_language_server"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pappasam/jedi-language-server";
|
||||
description = "A Language Server for the latest version(s) of Jedi";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
|
@ -3931,6 +3931,8 @@ in {
|
|||
|
||||
jedi = callPackage ../development/python-modules/jedi { };
|
||||
|
||||
jedi-language-server = callPackage ../development/python-modules/jedi-language-server { };
|
||||
|
||||
jeepney = callPackage ../development/python-modules/jeepney { };
|
||||
|
||||
jellyfin-apiclient-python = callPackage ../development/python-modules/jellyfin-apiclient-python { };
|
||||
|
|
Loading…
Reference in a new issue