pythonPackages.pygls: 0.9.0 -> 0.9.1
This commit is contained in:
parent
5e99485b3d
commit
0600273981
@ -1,30 +1,29 @@
|
|||||||
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
|
{ lib
|
||||||
, mock, pytest, pytest-asyncio
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
|
, fetchFromGitHub
|
||||||
|
, mock
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pygls";
|
pname = "pygls";
|
||||||
version = "0.9.0";
|
version = "0.9.1";
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "openlawlibrary";
|
owner = "openlawlibrary";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1wfp4hjin1mb6nkzhpfh5v8q8rwvn9zh0mwwj4dlxkqx5lp272hl";
|
sha256 = "1v7x5598d6jg8ya0spqjma56y062rznwimsrp8nq6fkskqgfm0ds";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "pytest==4.5.0" "pytest"
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkInputs = [ mock pytest pytest-asyncio ];
|
meta = with lib; {
|
||||||
checkPhase = "pytest";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = "https://github.com/openlawlibrary/pygls";
|
|
||||||
description = "Pythonic generic implementation of the Language Server Protocol";
|
description = "Pythonic generic implementation of the Language Server Protocol";
|
||||||
|
homepage = "https://github.com/openlawlibrary/pygls";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ metadark ];
|
maintainers = with maintainers; [ metadark ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user