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