1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 02:26:19 +03:00
nixpkgs/pkgs/development/python-modules/pygls/default.nix

31 lines
671 B
Nix
Raw Normal View History

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