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