1{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytest }:
2
3buildPythonPackage rec {
4 pname = "parsy";
5 version = "1.3.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "bfc941ea5a69e6ac16bd4f7d9f807bbc17e35edd8b95bcd2499a25b059359012";
10 };
11
12 checkInputs = [ pytest ];
13
14 checkPhase = ''
15 py.test test/
16 '';
17
18 disabled = pythonOlder "3.4";
19
20 meta = with lib; {
21 homepage = "https://github.com/python-parsy/parsy";
22 description = "Easy-to-use parser combinators, for parsing in pure Python";
23 license = [ licenses.mit ];
24 maintainers = with maintainers; [ edibopp ];
25 };
26}