python3Packages.lark: 1.1.5 -> 1.1.7
This commit is contained in:
@@ -1,23 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, fetchpatch
|
||||
, regex
|
||||
, pytestCheckHook
|
||||
, js2py
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lark";
|
||||
version = "1.1.5";
|
||||
version = "1.1.7";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lark-parser";
|
||||
repo = "lark";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-drvF+0PSOdrha2rfpntrM8xIbeb0S7eNtfioxkdjEKw=";
|
||||
hash = "sha256-k74tozIgJuwtUqKKmYHlfLpCWyT2hdoygRJiIpw+GDE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# include .lark files in package data
|
||||
# https://github.com/lark-parser/lark/pull/1308
|
||||
(fetchpatch {
|
||||
url = "https://github.com/lark-parser/lark/commit/656334cb8793fd4e08a12843eaced5a7bb518be3.patch";
|
||||
hash = "sha256-pYeNnFfXJ8xkR0KsU/KMWJ8nF+BhP9PXEANiVhT254s=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
# Optional import, but fixes some re known bugs & allows advanced regex features
|
||||
propagatedBuildInputs = [ regex ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user