2020-10-07 09:15:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, fetchFromGitHub
|
|
|
|
, mock
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
2020-05-29 06:06:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pygls";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "0.9.1";
|
2020-05-29 06:06:01 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "openlawlibrary";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "1v7x5598d6jg8ya0spqjma56y062rznwimsrp8nq6fkskqgfm0ds";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
meta = with lib; {
|
2020-05-29 06:06:01 +00:00
|
|
|
description = "Pythonic generic implementation of the Language Server Protocol";
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://github.com/openlawlibrary/pygls";
|
2020-05-29 06:06:01 +00:00
|
|
|
license = licenses.asl20;
|
2021-05-28 09:39:13 +00:00
|
|
|
maintainers = with maintainers; [ kira-bruneau ];
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
}
|