File tree Expand file tree Collapse file tree 1 file changed +22
-14
lines changed
pkgs/development/python-modules/jedi-language-server Expand file tree Collapse file tree 1 file changed +22
-14
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3+ stdenv ,
34 buildPythonPackage ,
4- docstring-to-markdown ,
55 fetchFromGitHub ,
6+ pythonOlder ,
7+
8+ # build-system
9+ poetry-core ,
10+
11+ # dependencies
12+ docstring-to-markdown ,
613 jedi ,
714 lsprotocol ,
8- poetry-core ,
9- pygls ,
1015 pydantic ,
11- pyhamcrest ,
16+ pygls ,
17+
18+ # tests
1219 pytestCheckHook ,
20+ pyhamcrest ,
1321 python-lsp-jsonrpc ,
14- pythonOlder ,
15- stdenv ,
1622} :
1723
1824buildPythonPackage rec {
1925 pname = "jedi-language-server" ;
2026 version = "0.42.0" ;
21- format = "pyproject" ;
27+ pyproject = true ;
2228
2329 disabled = pythonOlder "3.8" ;
2430
2531 src = fetchFromGitHub {
2632 owner = "pappasam" ;
27- repo = pname ;
33+ repo = "jedi-language-server" ;
2834 rev = "refs/tags/v${ version } " ;
2935 hash = "sha256-KWkKIKiaRR26CctDFrHJAITM+nmRKGxLeC5HHwVZz4s=" ;
3036 } ;
3137
32- nativeBuildInputs = [ poetry-core ] ;
38+ build-system = [
39+ poetry-core
40+ ] ;
3341
34- propagatedBuildInputs = [
42+ dependencies = [
3543 docstring-to-markdown
3644 jedi
3745 lsprotocol
@@ -57,12 +65,12 @@ buildPythonPackage rec {
5765
5866 pythonImportsCheck = [ "jedi_language_server" ] ;
5967
60- meta = with lib ; {
68+ meta = {
6169 description = "Language Server for the latest version(s) of Jedi" ;
6270 mainProgram = "jedi-language-server" ;
6371 homepage = "https://github.com/pappasam/jedi-language-server" ;
64- changelog = "https://github.com/pappasam/jedi-language-server/blob/${ version } /CHANGELOG.md" ;
65- license = licenses . mit ;
66- maintainers = with maintainers ; [ doronbehar ] ;
72+ changelog = "https://github.com/pappasam/jedi-language-server/blob/v ${ version } /CHANGELOG.md" ;
73+ license = lib . licenses . mit ;
74+ maintainers = with lib . maintainers ; [ doronbehar ] ;
6775 } ;
6876}
You can’t perform that action at this time.
0 commit comments