1{ lib 2, fetchPypi 3, buildPythonPackage 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "dict2xml"; 9 version = "1.7.1"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-ZgCqMx8X7uODNhH3GJmkOnZhLKdVoVdpzyBJLEsaoBY="; 17 }; 18 19 pythonImportsCheck = [ 20 "dict2xml" 21 ]; 22 23 meta = with lib; { 24 description = "Library to convert a Python dictionary into an XML string"; 25 homepage = "https://github.com/delfick/python-dict2xml"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ johnazoidberg ]; 28 }; 29}