From 41e4f5a7fd65be7c9fe4eace50e83e56f0dd3fbc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 11 Dec 2022 11:21:19 +0100 Subject: [PATCH] python310Packages.python-benedict: 0.25.4 -> 0.27.1 Diff: https://github.com/fabiocaccamo/python-benedict/compare/refs/tags/0.25.4...0.27.1 Changelog: https://github.com/fabiocaccamo/python-benedict/blob/0.27.1/CHANGELOG.md --- .../python-benedict/default.nix | 29 +++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/python-benedict/default.nix b/pkgs/development/python-modules/python-benedict/default.nix index 1ef6ceddea72..a85c74b9f6d2 100644 --- a/pkgs/development/python-modules/python-benedict/default.nix +++ b/pkgs/development/python-modules/python-benedict/default.nix @@ -1,26 +1,30 @@ { lib -, aiohttp +, boto3 , buildPythonPackage , fetchFromGitHub , ftfy , mailchecker +, openpyxl , orjson , phonenumbers , pytestCheckHook , python-dateutil +, python-decouple , python-fsutil -, pythonOlder , python-slugify +, pythonOlder +, pythonRelaxDepsHook , pyyaml , requests , six , toml +, xlrd , xmltodict }: buildPythonPackage rec { pname = "python-benedict"; - version = "0.25.4"; + version = "0.27.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -29,25 +33,37 @@ buildPythonPackage rec { owner = "fabiocaccamo"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-q7aQW4XRlKp+X1iItHVEsHEjkl2DU9QG0eMrcuq+rc4="; + hash = "sha256-L1lgP/Lpy+3koT93Z/H27SbraOHXBm1pxx+Ie6Z2AE4="; }; + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ + "boto3" + ]; + propagatedBuildInputs = [ + boto3 + ftfy mailchecker + openpyxl phonenumbers python-dateutil python-fsutil python-slugify pyyaml - ftfy - orjson requests toml + xlrd xmltodict ]; checkInputs = [ + orjson pytestCheckHook + python-decouple six ]; @@ -59,6 +75,7 @@ buildPythonPackage rec { "test_from_plist_with_valid_url_valid_content" "test_from_query_string_with_valid_url_valid_content" "test_from_toml_with_valid_url_valid_content" + "test_from_xls_with_valid_url_valid_content" "test_from_xml_with_valid_url_valid_content" "test_from_yaml_with_valid_url_valid_content" ];