26 buildPythonPackage rec {
27 pname = "python-benedict";
31 disabled = pythonOlder "3.10";
33 src = fetchFromGitHub {
34 owner = "fabiocaccamo";
35 repo = "python-benedict";
37 hash = "sha256-HQ9VVgRfF5qA36yOyKT63gXuKNLLjouqYKz5EuqGA2E=";
40 pythonRelaxDeps = [ "boto3" ];
42 build-system = [ setuptools ];
50 optional-dependencies = {
96 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
99 # Tests require network access
100 "test_from_base64_with_valid_url_valid_content"
101 "test_from_html_with_valid_file_valid_content"
102 "test_from_html_with_valid_url_valid_content"
103 "test_from_json_with_valid_url_valid_content"
104 "test_from_pickle_with_valid_url_valid_content"
105 "test_from_plist_with_valid_url_valid_content"
106 "test_from_query_string_with_valid_url_valid_content"
107 "test_from_toml_with_valid_url_valid_content"
108 "test_from_xls_with_valid_url_valid_content"
109 "test_from_xml_with_valid_url_valid_content"
110 "test_from_yaml_with_valid_url_valid_content"
113 pythonImportsCheck = [ "benedict" ];
116 description = "Module with keylist/keypath support";
117 homepage = "https://github.com/fabiocaccamo/python-benedict";
118 changelog = "https://github.com/fabiocaccamo/python-benedict/blob/${version}/CHANGELOG.md";
119 license = licenses.mit;
120 maintainers = with maintainers; [ fab ];