@@ -1,30 +1,29 @@
1−{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
2−, mock, pytest, pytest-asyncio
1+{ lib
2+, buildPythonPackage
3+, isPy3k
4+, fetchFromGitHub
5+, mock
6+, pytest-asyncio
7+, pytestCheckHook
38}:
49
510buildPythonPackage rec {
611 pname = "pygls";
7− version = "0.9.0";
12+ version = "0.9.1";
813 disabled = !isPy3k;
914
1015 src = fetchFromGitHub {
1116 owner = "openlawlibrary";
1217 repo = pname;
1318 rev = "v${version}";
14− sha256 = "1wfp4hjin1mb6nkzhpfh5v8q8rwvn9zh0mwwj4dlxkqx5lp272hl";
19+ sha256 = "1v7x5598d6jg8ya0spqjma56y062rznwimsrp8nq6fkskqgfm0ds";
1520 };
1621
17− postPatch = ''
18− substituteInPlace setup.py \
19− --replace "pytest==4.5.0" "pytest"
20− '';
22+ checkInputs = [ mock pytest-asyncio pytestCheckHook ];
2123
22− checkInputs = [ mock pytest pytest-asyncio ];
23− checkPhase = "pytest";
24−
25− meta = with stdenv.lib; {
26− homepage = "https://github.com/openlawlibrary/pygls";
24+ meta = with lib; {
2725 description = "Pythonic generic implementation of the Language Server Protocol";
26+ homepage = "https://github.com/openlawlibrary/pygls";
2827 license = licenses.asl20;
2928 maintainers = with maintainers; [ metadark ];
3029 };