File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
pkgs/development/python-modules/pygls Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 88, typeguard
99, pytest-asyncio
1010, pytestCheckHook
11+ , websockets
1112} :
1213
1314buildPythonPackage rec {
1415 pname = "pygls" ;
1516 version = "1.2.1" ;
16- format = "pyproject" ;
17+ pyproject = true ;
1718
1819 disabled = pythonOlder "3.7" ;
1920
@@ -33,6 +34,12 @@ buildPythonPackage rec {
3334 typeguard
3435 ] ;
3536
37+ passthru . optional-dependencies = {
38+ ws = [
39+ websockets
40+ ] ;
41+ } ;
42+
3643 nativeCheckInputs = [
3744 pytest-asyncio
3845 pytestCheckHook
@@ -46,12 +53,14 @@ buildPythonPackage rec {
4653 ulimit -n 1024
4754 '' ;
4855
49- pythonImportsCheck = [ "pygls" ] ;
56+ pythonImportsCheck = [
57+ "pygls"
58+ ] ;
5059
5160 meta = with lib ; {
5261 description = "Pythonic generic implementation of the Language Server Protocol" ;
5362 homepage = "https://github.com/openlawlibrary/pygls" ;
54- changelog = "https://github.com/openlawlibrary/pygls/blob/${ src . rev } /CHANGELOG.md" ;
63+ changelog = "https://github.com/openlawlibrary/pygls/blob/${ version } /CHANGELOG.md" ;
5564 license = licenses . asl20 ;
5665 maintainers = with maintainers ; [ kira-bruneau ] ;
5766 } ;
You can’t perform that action at this time.
0 commit comments