1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "markupsafe"; 10 version = "2.1.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 pname = "MarkupSafe"; 17 inherit version; 18 sha256 = "sha256-f5EZfMnkj5idEuTm+8RklcRGY238gbnM9Quw7HS5HUs="; 19 }; 20 21 checkInputs = [ 22 pytestCheckHook 23 ]; 24 25 pythonImportsCheck = [ "markupsafe" ]; 26 27 meta = with lib; { 28 description = "Implements a XML/HTML/XHTML Markup safe string"; 29 homepage = "https://palletsprojects.com/p/markupsafe/"; 30 license = licenses.bsd3; 31 maintainers = with maintainers; [ domenkozar ]; 32 }; 33}