summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyls-spyder/default.nix
blob: 61b0fa7449bcca0baabc7f1da0ed0a06634a92f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, buildPythonPackage
, fetchFromGitHub
, python-lsp-server
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "pyls-spyder";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "spyder-ide";
    repo = pname;
    rev = "v${version}";
    sha256 = "11ajbsia60d4c9s6m6rbvaqp1d69fcdbq6a98lkzkkzv2b9pdhkk";
  };

  propagatedBuildInputs = [
    python-lsp-server
  ];

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "pyls_spyder" ];

  meta = with lib; {
    description = "Spyder extensions for the python-language-server";
    homepage = "https://github.com/spyder-ide/pyls-spyder";
    license = licenses.mit;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}