1{ lib
2, buildPythonPackage
3, isPy3k
4, fetchFromGitHub
5, mock
6, pytest-asyncio
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "pygls";
12 version = "0.9.1";
13 disabled = !isPy3k;
14
15 src = fetchFromGitHub {
16 owner = "openlawlibrary";
17 repo = pname;
18 rev = "v${version}";
19 sha256 = "1v7x5598d6jg8ya0spqjma56y062rznwimsrp8nq6fkskqgfm0ds";
20 };
21
22 checkInputs = [ mock pytest-asyncio pytestCheckHook ];
23
24 meta = with lib; {
25 description = "Pythonic generic implementation of the Language Server Protocol";
26 homepage = "https://github.com/openlawlibrary/pygls";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ kira-bruneau ];
29 };
30}