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:
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user