python3Packages.lsprotocol: 2023.0.1 -> 2025.0.0

https://github.com/microsoft/lsprotocol/releases/tag/2025.0.0

This commit was automatically generated using update-python-libraries.

Changed files
+15 -22
pkgs
development
python-modules
lsprotocol
+15 -22
pkgs/development/python-modules/lsprotocol/default.nix
···
flit-core,
importlib-resources,
jsonschema,
-
nox,
pyhamcrest,
-
pytest,
pythonOlder,
}:
buildPythonPackage rec {
pname = "lsprotocol";
-
version = "2023.0.1";
pyproject = true;
disabled = pythonOlder "3.7";
···
owner = "microsoft";
repo = "lsprotocol";
tag = version;
-
hash = "sha256-PHjLKazMaT6W4Lve1xNxm6hEwqE3Lr2m5L7Q03fqb68=";
};
-
nativeBuildInputs = [
flit-core
-
nox
];
-
propagatedBuildInputs = [
attrs
cattrs
];
-
nativeCheckInputs = [ pytest ];
checkInputs = [
importlib-resources
···
pyhamcrest
];
-
preBuild = ''
-
cd packages/python
-
'';
preCheck = ''
-
cd ../../
-
'';
-
-
checkPhase = ''
-
runHook preCheck
-
-
sed -i "/^ _install_requirements/d" noxfile.py
-
nox --session tests
-
-
runHook postCheck
'';
pythonImportsCheck = [ "lsprotocol" ];
···
meta = with lib; {
description = "Python implementation of the Language Server Protocol";
homepage = "https://github.com/microsoft/lsprotocol";
-
changelog = "https://github.com/microsoft/lsprotocol/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [
doronbehar
···
flit-core,
importlib-resources,
jsonschema,
pyhamcrest,
+
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "lsprotocol";
+
version = "2025.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
···
owner = "microsoft";
repo = "lsprotocol";
tag = version;
+
hash = "sha256-DrWXHMgDZSQQ6vsmorThMrUTX3UQU+DajSEOdxoXrFQ=";
};
+
postPatch = ''
+
pushd packages/python
+
'';
+
+
build-system = [
flit-core
];
+
dependencies = [
attrs
cattrs
];
+
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [
importlib-resources
···
pyhamcrest
];
+
disabledTests = [
+
"test_notebook_sync_options"
+
];
preCheck = ''
+
popd
'';
pythonImportsCheck = [ "lsprotocol" ];
···
meta = with lib; {
description = "Python implementation of the Language Server Protocol";
homepage = "https://github.com/microsoft/lsprotocol";
+
changelog = "https://github.com/microsoft/lsprotocol/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [
doronbehar