python3Packages.hypothesmith: compatibility with lark
Expected old name 'lark-parser', so updated the requirement to 'lark'
This commit is contained in:
parent
66ad56106d
commit
92faf51e39
1 changed files with 5 additions and 0 deletions
|
@ -9,10 +9,15 @@ buildPythonPackage rec {
|
|||
sha256 = "0fb7b3fd03d76eddd4474b0561e1c2662457593a74cc300fd27e5409cd4d7922";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "lark-parser" "lark"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ hypothesis lark libcst ];
|
||||
|
||||
checkInputs = [ black parso pytestCheckHook pytest-cov pytest-xdist ];
|
||||
|
||||
pytestFlagsArray = [ "-v" ]; # tests are fairly slow, prevents timeout due to no stdout printing
|
||||
pythonImportsCheck = [ "hypothesmith" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue