Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
1.0 KiB
Nix
59 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
|
|
# reverse dependencies
|
|
jinja2,
|
|
mkdocs,
|
|
quart,
|
|
werkzeug,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "markupsafe";
|
|
version = "3.0.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pallets";
|
|
repo = "markupsafe";
|
|
tag = version;
|
|
hash = "sha256-BqCkQqPhjEx3qB/k3d3fSirR/HDBa7e4kpx3/VSwXJM=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "markupsafe" ];
|
|
|
|
passthru.tests = {
|
|
inherit
|
|
jinja2
|
|
mkdocs
|
|
quart
|
|
werkzeug
|
|
;
|
|
};
|
|
|
|
meta = with lib; {
|
|
changelog = "https://markupsafe.palletsprojects.com/page/changes/#version-${
|
|
replaceStrings [ "." ] [ "-" ] version
|
|
}";
|
|
description = "Implements a XML/HTML/XHTML Markup safe string";
|
|
homepage = "https://palletsprojects.com/p/markupsafe/";
|
|
license = licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|