0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

python3Packages.hypothesmith: patch lark requirement

The library was renamed and this package didn't follow … yet?
This commit is contained in:
Martin Weinelt 2022-02-16 00:11:41 +01:00
parent aaf81c378c
commit a98f94fcf3
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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 ];