python3Packages.pyhocon: 0.3.53 -> 0.3.58 (#130158)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Fabian Affolter 2021-07-15 22:13:34 +02:00 committed by GitHub
parent 6609c063c3
commit dadf56e3a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,38 +1,39 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
# Runtime inputs:
, pyparsing
# Check inputs:
, pytest
, mock , mock
, pyparsing
, pytestCheckHook
, python-dateutil
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyhocon"; pname = "pyhocon";
version = "0.3.53"; version = "0.3.58";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "chimpler"; owner = "chimpler";
repo = "pyhocon"; repo = "pyhocon";
rev = version; 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. pythonImportsCheck = [ "pyhocon" ];
# See https://github.com/chimpler/pyhocon/pull/203
doCheck = false;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/chimpler/pyhocon/"; homepage = "https://github.com/chimpler/pyhocon/";
description = "HOCON parser for Python"; description = "HOCON parser for Python";
# Long description copied from # taken from https://pypi.org/project/pyhocon/
# https://github.com/chimpler/pyhocon/blob/55a9ea3ebeeac5764bdebebfbeacbf099f64db26/setup.py
# (the tip of master as of 2019-03-24).
longDescription = '' longDescription = ''
A HOCON parser for Python. It additionally provides a tool A HOCON parser for Python. It additionally provides a tool
(pyhocon) to convert any HOCON content into json, yaml and properties (pyhocon) to convert any HOCON content into json, yaml and properties