1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "dicttoxml2"; 9 version = "2.1.0"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-Z8tynzN911KAjAIbcMjfijT4S54RGl26o34ADur01GI="; 17 }; 18 19 # Module has no tests 20 doCheck = false; 21 22 pythonImportsCheck = [ 23 "dicttoxml2" 24 ]; 25 26 meta = with lib;{ 27 description = "Converts a Python dictionary or other native data type into a valid XML string"; 28 homepage = "https://pypi.org/project/dicttoxml2/"; 29 license = licenses.gpl2Only; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}