From a98f94fcf3bc4b096d666211b39798e6cae9ff0c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 16 Feb 2022 00:11:41 +0100 Subject: [PATCH] python3Packages.hypothesmith: patch lark requirement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The library was renamed and this package didn't follow … yet? --- pkgs/development/python-modules/hypothesmith/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/hypothesmith/default.nix b/pkgs/development/python-modules/hypothesmith/default.nix index 3ce0f068fec9..d1a6625e8c7b 100644 --- a/pkgs/development/python-modules/hypothesmith/default.nix +++ b/pkgs/development/python-modules/hypothesmith/default.nix @@ -9,6 +9,11 @@ buildPythonPackage rec { sha256 = "0fb7b3fd03d76eddd4474b0561e1c2662457593a74cc300fd27e5409cd4d7922"; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "lark-parser" "lark" + ''; + propagatedBuildInputs = [ hypothesis lark libcst ]; checkInputs = [ black parso pytestCheckHook pytest-cov pytest-xdist ];