From 3906cdcabc0487bbd572fbce69170159d0b4459a Mon Sep 17 00:00:00 2001 From: Jake Arkinstall <65358059+jake-arkinstall@users.noreply.github.com> Date: Thu, 9 May 2024 16:23:43 +0100 Subject: [PATCH] Updated Nix's lark hash and build format --- nix-support/pytket.nix | 2 +- nix-support/third-party-python-packages.nix | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/nix-support/pytket.nix b/nix-support/pytket.nix index 6368ac7a1f..5291e423af 100644 --- a/nix-support/pytket.nix +++ b/nix-support/pytket.nix @@ -39,7 +39,7 @@ in { inherit version; propagatedBuildInputs = with super.python3.pkgs; [ self.binders - super.lark-parser + super.lark super.types-pkg_resources super.qwasm graphviz diff --git a/nix-support/third-party-python-packages.nix b/nix-support/third-party-python-packages.nix index b462a4c0b7..de9b5e2e61 100644 --- a/nix-support/third-party-python-packages.nix +++ b/nix-support/third-party-python-packages.nix @@ -19,15 +19,17 @@ self: super: { sha256 = "sha256:g/QA5CpAR3exRDgVQMnXGIH8bEGtwGFBjjSblbdXRkU="; }; }; - lark-parser = super.python3.pkgs.buildPythonPackage { - pname = "lark-parser"; - version = "0.12.0"; + lark = super.python3.pkgs.buildPythonPackage { + pname = "lark"; + version = "1.1.9"; + format = "pyproject"; src = super.fetchFromGitHub { owner = "lark-parser"; repo = "lark"; - rev = "refs/tags/0.12.0"; - hash = "sha256-zcMGCn3ixD3dJg3GlC/ijs+U1JN1BodHLTXZc/5UR7Y="; + rev = "refs/tags/1.1.9"; + hash = "sha256:pWLKjELy10VNumpBHjBYCO2TltKsZx1GhQcGMHsYJNk="; }; + nativeBuildInputs = with super.python3Packages; [ setuptools ]; doCheck = false; }; types-pkg_resources = let