12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
22 rev = "refs/tags/${version}";
23 hash = "sha256-xXx30uxJ8+KPVdYC6yRzEDJbwYSzIO/Gy1xrehvI5ZE=";
26 propagatedBuildInputs = [
37 substituteInPlace setup.py \
38 --replace "pyparsing~=2.0" "pyparsing>=2.0"
41 pythonImportsCheck = [ "pyhocon" ];
44 # pyparsing.exceptions.ParseException: Expected end of text, found '='
45 # https://github.com/chimpler/pyhocon/issues/273
50 # AssertionError: assert ConfigTree([(...
57 description = "HOCON parser for Python";
58 mainProgram = "pyhocon";
59 homepage = "https://github.com/chimpler/pyhocon/";
61 A HOCON parser for Python. It additionally provides a tool (pyhocon) to convert
62 any HOCON content into JSON, YAML and properties format.
64 license = licenses.asl20;
65 maintainers = with maintainers; [ chreekat ];