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