1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/python-modules/lark-parser/default.nix
2018-01-02 09:59:43 +01:00

31 lines
701 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, python
}:
buildPythonPackage rec {
pname = "lark-parser"; # PyPI name
version = "2017-12-18";
src = fetchFromGitHub {
owner = "erezsh";
repo = "lark";
rev = "9d6cde9b1ba971f02ea8106fa3b71a934e83d6fa";
sha256 = "0nv6nxd8wx9dwhn37m94fkc10gknckrjs1hzajxygla3dpql455j";
};
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 ];
};
}