depot/third_party/nixpkgs/pkgs/development/python-modules/pygls/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

30 lines
675 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; [ kira-bruneau ];
};
}