python310Packages.bleach-allowlist: init at 1.0.3

This commit is contained in:
Bruno BELANYI 2021-11-28 15:16:17 +01:00
parent cdb99182ad
commit 682ebaafa2
2 changed files with 33 additions and 0 deletions

View File

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

View File

@ -1385,6 +1385,8 @@ in {
bleach = callPackage ../development/python-modules/bleach { };
bleach-allowlist = callPackage ../development/python-modules/bleach-allowlist { };
bleak = callPackage ../development/python-modules/bleak { };
bleak-retry-connector = callPackage ../development/python-modules/bleak-retry-connector { };