3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pygls/default.nix

31 lines
671 B
Nix
Raw Normal View History

2020-10-01 03:33:56 +01:00
{ lib
, buildPythonPackage
, isPy3k
, fetchFromGitHub
, mock
, pytest-asyncio
, pytestCheckHook
2020-05-28 00:19:49 +01:00
}:
buildPythonPackage rec {
pname = "pygls";
2020-10-01 03:33:56 +01:00
version = "0.9.1";
2020-05-28 00:19:49 +01:00
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "openlawlibrary";
repo = pname;
rev = "v${version}";
2020-10-01 03:33:56 +01:00
sha256 = "1v7x5598d6jg8ya0spqjma56y062rznwimsrp8nq6fkskqgfm0ds";
2020-05-28 00:19:49 +01:00
};
2020-10-01 03:33:56 +01:00
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
2020-05-28 00:19:49 +01:00
2020-10-01 03:33:56 +01:00
meta = with lib; {
2020-05-28 00:19:49 +01:00
description = "Pythonic generic implementation of the Language Server Protocol";
2020-10-01 03:33:56 +01:00
homepage = "https://github.com/openlawlibrary/pygls";
2020-05-28 00:19:49 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ metadark ];
};
}