python3Packages.lark: rename from lark-parser

With version 1.0 of lark-parser the name was changed to just lark.
This commit is contained in:
Martin Weinelt
2022-01-23 01:09:37 +01:00
parent 705414fcd5
commit 2f4b2e72d0
8 changed files with 17 additions and 17 deletions
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, six, lark-parser, pytestCheckHook }:
{ lib, buildPythonPackage, fetchFromGitHub, six, lark, pytestCheckHook }:
buildPythonPackage rec {
pname = "commentjson";
@@ -13,13 +13,13 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "lark-parser>=0.7.1,<0.8.0" "lark-parser"
--replace "lark-parser>=0.7.1,<0.8.0" "lark"
# NixOS is missing test.test_json module
rm -r commentjson/tests/test_json
'';
propagatedBuildInputs = [ lark-parser six ];
propagatedBuildInputs = [ lark six ];
checkInputs = [ pytestCheckHook ];