summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-benedict
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-12-11 11:21:19 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2022-12-11 11:21:19 +0100
commit41e4f5a7fd65be7c9fe4eace50e83e56f0dd3fbc (patch)
treed923e800b76c9e5a586ab9959d7c32f1b6fcf06f /pkgs/development/python-modules/python-benedict
parent8fe67e0c20e6428ca6e834b302068979adb4271a (diff)
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
Diffstat (limited to 'pkgs/development/python-modules/python-benedict')
-rw-r--r--pkgs/development/python-modules/python-benedict/default.nix29
1 files 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"
];