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