Files
nixpkgs/pkgs/development/python-modules/bleach-allowlist/default.nix
T
2026-01-05 12:36:36 +00:00

32 lines
669 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
bleach,
}:
buildPythonPackage (finalAttrs: {
pname = "bleach-allowlist";
version = "1.0.3";
format = "setuptools";
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-VuIghgeaDmoxAK6Z5NuvIOslhUhlmOsOmUAIoRQo2ps=";
};
propagatedBuildInputs = [ bleach ];
# No tests
doCheck = false;
pythonImportsCheck = [ "bleach_allowlist" ];
meta = {
description = "Curated lists of tags and attributes for sanitizing html";
homepage = "https://github.com/yourcelf/bleach-allowlist";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ ambroisie ];
};
})