python310Packages.jedi-language-server: add missing inputs
- disable on unsupported Python releases
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pythonRelaxDepsHook
|
||||
, docstring-to-markdown
|
||||
, fetchFromGitHub
|
||||
, jedi
|
||||
, lsprotocol
|
||||
, poetry-core
|
||||
, pygls
|
||||
, pytestCheckHook
|
||||
, pydantic
|
||||
, pyhamcrest
|
||||
, pytestCheckHook
|
||||
, python-jsonrpc-server
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -17,11 +19,13 @@ buildPythonPackage rec {
|
||||
version = "0.40.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pappasam";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-+3VgONZzlobgs4wujCaGTTYpIgYrWgWwYgKQqirS7t8=";
|
||||
hash = "sha256-+3VgONZzlobgs4wujCaGTTYpIgYrWgWwYgKQqirS7t8=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@@ -36,6 +40,8 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
docstring-to-markdown
|
||||
jedi
|
||||
lsprotocol
|
||||
pydantic
|
||||
pygls
|
||||
];
|
||||
|
||||
@@ -54,9 +60,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pappasam/jedi-language-server";
|
||||
changelog = "https://github.com/pappasam/jedi-language-server/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "A Language Server for the latest version(s) of Jedi";
|
||||
homepage = "https://github.com/pappasam/jedi-language-server";
|
||||
changelog = "https://github.com/pappasam/jedi-language-server/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user