1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, mock 5, pyparsing 6, pytestCheckHook 7, python-dateutil 8}: 9 10buildPythonPackage rec { 11 pname = "pyhocon"; 12 version = "0.3.58"; 13 14 src = fetchFromGitHub { 15 owner = "chimpler"; 16 repo = "pyhocon"; 17 rev = version; 18 sha256 = "sha256-ddspVDKy9++cISWH6R95r+gJrzNGqMTybI04OgVtIUU="; 19 }; 20 21 propagatedBuildInputs = [ 22 pyparsing 23 python-dateutil 24 ]; 25 26 checkInputs = [ 27 mock 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ "pyhocon" ]; 32 33 meta = with lib; { 34 homepage = "https://github.com/chimpler/pyhocon/"; 35 description = "HOCON parser for Python"; 36 # taken from https://pypi.org/project/pyhocon/ 37 longDescription = '' 38 A HOCON parser for Python. It additionally provides a tool 39 (pyhocon) to convert any HOCON content into json, yaml and properties 40 format 41 ''; 42 license = licenses.asl20; 43 maintainers = [ maintainers.chreekat ]; 44 }; 45}