From 2eb41462b5e848de0c6c6d10f1821b2ca43eff0b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 16 May 2023 09:06:11 +0200 Subject: [PATCH] python3Packages.pyls-memestra: init at 0.0.16 --- .../python-modules/pyls-memestra/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/python-modules/pyls-memestra/default.nix diff --git a/pkgs/development/python-modules/pyls-memestra/default.nix b/pkgs/development/python-modules/pyls-memestra/default.nix new file mode 100644 index 000000000000..62ae057613a6 --- /dev/null +++ b/pkgs/development/python-modules/pyls-memestra/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, deprecated +, memestra +, python-lsp-server +}: + +buildPythonPackage rec { + pname = "pyls-memestra"; + version = "0.0.16"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-zMVDd2uB4znw38z3yb0Nt7qQH5dGHTbQBIZO/qo1/t8="; + }; + + propagatedBuildInputs = [ + deprecated + memestra + python-lsp-server + ]; + + # Tests fail because they rely on writting to read-only files + doCheck = false; + + pythonImportsCheck = [ + "pyls_memestra" + ]; + + meta = with lib; { + description = "Memestra plugin for the Python Language Server"; + homepage = "https://github.com/QuantStack/pyls-memestra"; + license = licenses.bsd3; + maintainers = with maintainers; [ GaetanLepage ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1810fc039c51..3dbf49c2679a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8710,6 +8710,8 @@ self: super: with self; { pyls-isort = callPackage ../development/python-modules/pyls-isort { }; + pyls-memestra = callPackage ../development/python-modules/pyls-memestra { }; + pyls-spyder = callPackage ../development/python-modules/pyls-spyder { }; pylsp-mypy = callPackage ../development/python-modules/pylsp-mypy { };