1{ lib 2, buildPythonPackage 3, isPy27 4, fetchFromGitHub 5}: 6 7buildPythonPackage rec { 8 pname = "reparser"; 9 version = "1.4.3"; 10 11 disabled = isPy27; 12 13 src = fetchFromGitHub { 14 owner = "xmikos"; 15 repo = "reparser"; 16 rev = "v${version}"; 17 sha256 = "04v7h52wny0j2qj37501nk33j0s4amm134kagdicx2is49zylzq1"; 18 }; 19 20 # no tests implemented 21 doCheck = false; 22 23 pythonImportsCheck = [ "reparser" ]; 24 25 meta = with lib; { 26 description = "Simple regex-based lexer/parser for inline markup"; 27 homepage = "https://github.com/xmikos/reparser"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ dotlambda ]; 30 }; 31}