mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
python.pkgs.lark-parser: init at 2017-12-10
This commit is contained in:
parent
76090f5dc3
commit
8544e86bc2
30
pkgs/development/python-modules/lark-parser/default.nix
Normal file
30
pkgs/development/python-modules/lark-parser/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue