1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, python-lsp-server
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "pyls-spyder";
10 version = "0.4.0";
11
12 src = fetchFromGitHub {
13 owner = "spyder-ide";
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "11ajbsia60d4c9s6m6rbvaqp1d69fcdbq6a98lkzkkzv2b9pdhkk";
17 };
18
19 propagatedBuildInputs = [
20 python-lsp-server
21 ];
22
23 nativeCheckInputs = [
24 pytestCheckHook
25 ];
26
27 pythonImportsCheck = [ "pyls_spyder" ];
28
29 meta = with lib; {
30 description = "Spyder extensions for the python-language-server";
31 homepage = "https://github.com/spyder-ide/pyls-spyder";
32 license = licenses.mit;
33 maintainers = with maintainers; [ SuperSandro2000 ];
34 };
35}