depot/third_party/nixpkgs/pkgs/development/python-modules/pygls/default.nix

31 lines
675 B
Nix
Raw Normal View History

{ 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; [ kira-bruneau ];
};
}