30 lines
671 B
Nix
30 lines
671 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, isPy3k
|
|
, fetchFromGitHub
|
|
, mock
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pygls";
|
|
version = "0.9.1";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "openlawlibrary";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1v7x5598d6jg8ya0spqjma56y062rznwimsrp8nq6fkskqgfm0ds";
|
|
};
|
|
|
|
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Pythonic generic implementation of the Language Server Protocol";
|
|
homepage = "https://github.com/openlawlibrary/pygls";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ metadark ];
|
|
};
|
|
}
|