1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "xmltodict"; 12 version = "0.14.2"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-IB58KLshDjdJmdHd5jgpI6sO0ail+u7OSKtSW3gQpVM="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "xmltodict" ]; 27 28 meta = with lib; { 29 description = "Makes working with XML feel like you are working with JSON"; 30 homepage = "https://github.com/martinblech/xmltodict"; 31 changelog = "https://github.com/martinblech/xmltodict/blob/v${version}/CHANGELOG.md"; 32 license = licenses.mit; 33 maintainers = [ ]; 34 }; 35}