depot/third_party/nixpkgs/pkgs/development/python-modules/jupyter-lsp/default.nix

33 lines
695 B
Nix
Raw Normal View History

{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, jupyter-server
}:
buildPythonPackage rec {
pname = "jupyter-lsp";
version = "1.5.1";
src = fetchPypi {
inherit pname version;
hash = "sha256-dRq9NUE76ZpDMfNZewk0Gtx1VYntMgkawvaG2z1hJn4=";
};
propagatedBuildInputs = [
jupyter-server
];
# tests require network
doCheck = false;
pythonImportsCheck = [ "jupyter_lsp" ];
meta = with lib; {
description = "Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server";
homepage = "https://pypi.org/project/jupyter-lsp";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ doronbehar ];
};
}