python310Packages.bleach-allowlist: init at 1.0.3
This commit is contained in:
parent
cdb99182ad
commit
682ebaafa2
31
pkgs/development/python-modules/bleach-allowlist/default.nix
Normal file
31
pkgs/development/python-modules/bleach-allowlist/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user