11 buildPythonPackage rec {
12 pname = "python-lsp-jsonrpc";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 hash = "sha256-5WN/31e6WCgXVzevMuQbNjyo/2jjWDF+m48nrLKS+64=";
25 SETUPTOOLS_SCM_PRETEND_VERSION = version;
28 substituteInPlace pyproject.toml \
29 --replace "--cov-report html --cov-report term --junitxml=pytest.xml --cov pylsp_jsonrpc --cov test" ""
37 propagatedBuildInputs = [
45 pythonImportsCheck = [
50 description = "Python server implementation of the JSON RPC 2.0 protocol";
51 homepage = "https://github.com/python-lsp/python-lsp-jsonrpc";
52 changelog = "https://github.com/python-lsp/python-lsp-jsonrpc/blob/v${version}/CHANGELOG.md";
53 license = licenses.mit;
54 maintainers = with maintainers; [ fab ];