depot/third_party/nixpkgs/pkgs/development/python-modules/pyls-spyder/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

33 lines
707 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
python-lsp-server,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyls-spyder";
version = "0.4.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "spyder-ide";
repo = pname;
rev = "v${version}";
sha256 = "11ajbsia60d4c9s6m6rbvaqp1d69fcdbq6a98lkzkkzv2b9pdhkk";
};
propagatedBuildInputs = [ python-lsp-server ];
nativeCheckInputs = [ 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 = [ ];
};
}