@@ -1,38 +1,39 @@
11{ lib
22, buildPythonPackage
33, fetchFromGitHub
4−# Runtime inputs:
5−, pyparsing
6−# Check inputs:
7−, pytest
84, mock
5+, pyparsing
6+, pytestCheckHook
7+, python-dateutil
98}:
109
1110buildPythonPackage rec {
1211 pname = "pyhocon";
13− version = "0.3.53";
12+ version = "0.3.58";
1413
1514 src = fetchFromGitHub {
1615 owner = "chimpler";
1716 repo = "pyhocon";
1817 rev = version;
19− sha256 = "1lr56piiasnq1aiwli8ldw2wc3xjfck8az991mr5rdbqqsrh9vkv";
18+ sha256 = "sha256-ddspVDKy9++cISWH6R95r+gJrzNGqMTybI04OgVtIUU=";
2019 };
2120
22− propagatedBuildInputs = [ pyparsing ];
21+ propagatedBuildInputs = [
22+ pyparsing
23+ python-dateutil
24+ ];
2325
24− checkInputs = [ pytest mock ];
26+ checkInputs = [
27+ mock
28+ pytestCheckHook
29+ ];
2530
26− # Tests fail because necessary data files aren't packaged for PyPi yet.
27− # See https://github.com/chimpler/pyhocon/pull/203
28− doCheck = false;
31+ pythonImportsCheck = [ "pyhocon" ];
2932
3033 meta = with lib; {
3134 homepage = "https://github.com/chimpler/pyhocon/";
3235 description = "HOCON parser for Python";
33− # Long description copied from
34− # https://github.com/chimpler/pyhocon/blob/55a9ea3ebeeac5764bdebebfbeacbf099f64db26/setup.py
35− # (the tip of master as of 2019-03-24).
36+ # taken from https://pypi.org/project/pyhocon/
3637 longDescription = ''
3738 A HOCON parser for Python. It additionally provides a tool
3839 (pyhocon) to convert any HOCON content into json, yaml and properties