1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "xmltodict"; 10 version = "0.13.0"; 11 format = "setuptools"; 12 disabled = pythonOlder "3.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-NBWVpIjj4BqFqdiRHYkS/ZIu3l/sxNzkN+tLbI0DflY="; 17 }; 18 19 checkInputs = [ 20 pytestCheckHook 21 ]; 22 23 pythonImportsCheck = [ "xmltodict" ]; 24 25 meta = with lib; { 26 description = "Makes working with XML feel like you are working with JSON"; 27 homepage = "https://github.com/martinblech/xmltodict"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ SuperSandro2000 ]; 30 }; 31}