2 , antlr4-python3-runtime
31 buildPythonPackage rec {
34 format = "setuptools";
36 disabled = pythonOlder "3.8";
38 src = fetchFromGitHub {
41 rev = "refs/tags/v${version}";
42 hash = "sha256-BXKH3AlYMNbMREW5Qx72PrbuZdXlmVS+knWWu/y9PsA=";
46 rm src/pyfx/model/common/jsonpath/*.{g4,interp,tokens}
47 antlr -Dlanguage=Python3 -visitor -o src/pyfx/model/common/jsonpath/ *.g4
50 pythonRelaxDeps = true;
58 propagatedBuildInputs = [
59 antlr4-python3-runtime
85 # antlr4 issue prevents us from running the tests
86 # https://github.com/antlr/antlr4/issues/4041
89 # pythonImportsCheck = [
94 description = "Module to view JSON in a TUI";
95 homepage = "https://github.com/cielong/pyfx";
96 changelog = "https://github.com/cielong/pyfx/releases/tag/v${version}";
97 license = with licenses; [ mit ];
98 maintainers = with maintainers; [ fab ];