From 884d5a45cd2d07c3fd9b17860f5fd4c928d0c856 Mon Sep 17 00:00:00 2001 From: Alex Carney Date: Thu, 14 Sep 2023 18:52:33 +0100 Subject: [PATCH] nix: Update overlay --- lib/pytest-lsp/nix/pytest-lsp-overlay.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/lib/pytest-lsp/nix/pytest-lsp-overlay.nix b/lib/pytest-lsp/nix/pytest-lsp-overlay.nix index 9468b69..b971989 100644 --- a/lib/pytest-lsp/nix/pytest-lsp-overlay.nix +++ b/lib/pytest-lsp/nix/pytest-lsp-overlay.nix @@ -20,13 +20,30 @@ final: prev: { }); + lsprotocol = python-prev.lsprotocol.overridePythonAttrs(oldAttrs: rec { + version = "2023.0.0a3"; + + src = prev.fetchFromGitHub { + rev = version; + owner = "microsoft"; + repo = oldAttrs.pname; + sha256 = "sha256-Q4jvUIMMaDX8mvdmRtYKHB2XbMEchygO2NMmMQdNkTc="; + }; + }); + pygls = python-prev.pygls.overridePythonAttrs (_: { + format = "pyproject"; + src = prev.fetchFromGitHub { owner = "openlawlibrary"; repo = "pygls"; rev = "main"; - hash = "sha256-KjnuGQy3/YBSZyXYNWz4foUsFRbinujGxCkQjRSK4PE="; + hash = "sha256-JpopfqeLNi23TuZ5mkPEShUPScd1fB0IDXSVGvDYFXE="; }; + + nativeBuildInputs = with python-prev; [ + poetry-core + ]; }); pytest-lsp = python-prev.buildPythonPackage {