depot/third_party/nixpkgs/pkgs/development/python-modules/pyls-spyder/default.nix
Default email b96e6f4393 Project import generated by Copybara.
GitOrigin-RevId: 20887e4bbfdae3aed6bfa1f53ddf138ee325515e
2021-07-03 21:40:35 -05:00

35 lines
715 B
Nix

{ 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 ];
};
}