python.pkgs.lark-parser: init at 2017-12-10

This commit is contained in:
Frederik Rietdijk 2017-12-11 13:57:24 +01:00
parent 76090f5dc3
commit 8544e86bc2
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python
}:
buildPythonPackage rec {
pname = "lark-parser"; # PyPI name
version = "2017-12-10";
src = fetchFromGitHub {
owner = "erezsh";
repo = "lark";
rev = "852607b978584ecdec68ac115dd8554cdb0a2305";
sha256 = "1clzmvbp1b4zamcm6ldak0hkw46n3lhw4b28qq9xdl0n4va6zig7";
};
checkPhase = ''
${python.interpreter} -m unittest
'';
doCheck = false; # Requires js2py
meta = {
description = "A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";
homepage = https://github.com/erezsh/lark;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fridh ];
};
}

View File

@ -10265,6 +10265,8 @@ in {
};
};
lark-parser = callPackage ../development/python-modules/lark-parser { };
lazy-object-proxy = buildPythonPackage rec {
name = "lazy-object-proxy-${version}";
version = "1.2.1";