2021-07-04 02:40:35 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python-lsp-server
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyls-spyder";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.4.0";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2021-07-04 02:40:35 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "spyder-ide";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "11ajbsia60d4c9s6m6rbvaqp1d69fcdbq6a98lkzkkzv2b9pdhkk";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
2021-07-04 02:40:35 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
python-lsp-server
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-07-04 02:40:35 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
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;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
}
|