1{ lib, buildPythonPackage, fetchFromGitHub, cython, python }:
2
3buildPythonPackage rec {
4 pname = "cpyparsing";
5 version = "2.4.5.0.1.1";
6
7 src = fetchFromGitHub {
8 owner = "evhub";
9 repo = pname;
10 rev = "aa8ee45daec5c55328446bad7202ab8f799ab0ce"; # No tags on repo
11 sha256 = "1mxa5q41cb0k4lkibs0d4lzh1w6kmhhdrsm0w0r1m3s80m05ffmw";
12 };
13
14 nativeBuildInputs = [ cython ];
15
16 checkPhase = "${python.interpreter} tests/cPyparsing_test.py";
17
18 meta = with lib; {
19 homepage = "https://github.com/evhub/cpyparsing";
20 description = "Cython PyParsing implementation";
21 license = licenses.asl20;
22 maintainers = with maintainers; [ fabianhjr ];
23 };
24}