nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 55 lines 999 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 setuptools, 8 9 # tests 10 pytestCheckHook, 11 12 # reverse dependencies 13 jinja2, 14 mkdocs, 15 quart, 16 werkzeug, 17}: 18 19buildPythonPackage rec { 20 pname = "markupsafe"; 21 version = "3.0.3"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "pallets"; 26 repo = "markupsafe"; 27 tag = version; 28 hash = "sha256-2d64cItemqVM25WJIKrjExKz6v4UW2wVxM6phH1g1sE="; 29 }; 30 31 build-system = [ setuptools ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "markupsafe" ]; 36 37 passthru.tests = { 38 inherit 39 jinja2 40 mkdocs 41 quart 42 werkzeug 43 ; 44 }; 45 46 meta = { 47 changelog = "https://markupsafe.palletsprojects.com/page/changes/#version-${ 48 lib.replaceStrings [ "." ] [ "-" ] version 49 }"; 50 description = "Implements a XML/HTML/XHTML Markup safe string"; 51 homepage = "https://palletsprojects.com/p/markupsafe/"; 52 license = lib.licenses.bsd3; 53 maintainers = [ ]; 54 }; 55}