Skip to content

Commit 8678862

Browse files
committed
python311Packages.pygls: relax lsprotocol
1 parent 3700dad commit 8678862

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

pkgs/development/python-modules/pygls/default.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{ lib
22
, stdenv
33
, buildPythonPackage
4-
, pythonOlder
54
, fetchFromGitHub
6-
, poetry-core
75
, lsprotocol
8-
, typeguard
6+
, poetry-core
97
, pytest-asyncio
108
, pytestCheckHook
9+
, pythonOlder
10+
, pythonRelaxDepsHook
11+
, typeguard
1112
, websockets
1213
}:
1314

@@ -25,8 +26,14 @@ buildPythonPackage rec {
2526
hash = "sha256-ARez9fs50kScfMp/W/aFIOcJonpFrcfyrzJuVwou7fk=";
2627
};
2728

29+
pythonRelaxDeps = [
30+
# https://github.com/openlawlibrary/pygls/pull/432
31+
"lsprotocol"
32+
];
33+
2834
nativeBuildInputs = [
2935
poetry-core
36+
pythonRelaxDepsHook
3037
];
3138

3239
propagatedBuildInputs = [

0 commit comments

Comments
 (0)