diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2021-07-15 22:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 22:13:34 +0200 |
commit | dadf56e3a6835f2cc8047e4ae8569b0343d53892 (patch) | |
tree | f2881ca7a1e98dea3bdc4794a2bbd4175241fc95 /pkgs/development/python-modules/pyhocon | |
parent | 6609c063c38f1c42c55e99f85a04febd115812b7 (diff) |
python3Packages.pyhocon: 0.3.53 -> 0.3.58 (#130158)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/pyhocon')
-rw-r--r-- | pkgs/development/python-modules/pyhocon/default.nix | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/pyhocon/default.nix b/pkgs/development/python-modules/pyhocon/default.nix index 487f7ca66f313..f69a21115f276 100644 --- a/pkgs/development/python-modules/pyhocon/default.nix +++ b/pkgs/development/python-modules/pyhocon/default.nix @@ -1,38 +1,39 @@ { lib , buildPythonPackage , fetchFromGitHub -# Runtime inputs: -, pyparsing -# Check inputs: -, pytest , mock +, pyparsing +, pytestCheckHook +, python-dateutil }: buildPythonPackage rec { pname = "pyhocon"; - version = "0.3.53"; + version = "0.3.58"; src = fetchFromGitHub { owner = "chimpler"; repo = "pyhocon"; rev = version; - sha256 = "1lr56piiasnq1aiwli8ldw2wc3xjfck8az991mr5rdbqqsrh9vkv"; + sha256 = "sha256-ddspVDKy9++cISWH6R95r+gJrzNGqMTybI04OgVtIUU="; }; - propagatedBuildInputs = [ pyparsing ]; + propagatedBuildInputs = [ + pyparsing + python-dateutil + ]; - checkInputs = [ pytest mock ]; + checkInputs = [ + mock + pytestCheckHook + ]; - # Tests fail because necessary data files aren't packaged for PyPi yet. - # See https://github.com/chimpler/pyhocon/pull/203 - doCheck = false; + pythonImportsCheck = [ "pyhocon" ]; meta = with lib; { homepage = "https://github.com/chimpler/pyhocon/"; description = "HOCON parser for Python"; - # Long description copied from - # https://github.com/chimpler/pyhocon/blob/55a9ea3ebeeac5764bdebebfbeacbf099f64db26/setup.py - # (the tip of master as of 2019-03-24). + # taken from https://pypi.org/project/pyhocon/ longDescription = '' A HOCON parser for Python. It additionally provides a tool (pyhocon) to convert any HOCON content into json, yaml and properties |