Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, bleach 5}: 6 7buildPythonPackage rec { 8 pname = "bleach-allowlist"; 9 version = "1.0.3"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-VuIghgeaDmoxAK6Z5NuvIOslhUhlmOsOmUAIoRQo2ps="; 14 }; 15 16 propagatedBuildInputs = [ 17 bleach 18 ]; 19 20 # No tests 21 doCheck = false; 22 23 pythonImportsCheck = [ "bleach_allowlist" ]; 24 25 meta = with lib; { 26 description = "Curated lists of tags and attributes for sanitizing html"; 27 homepage = "https://github.com/yourcelf/bleach-allowlist"; 28 license = licenses.bsd2; 29 maintainers = with maintainers; [ ambroisie ]; 30 }; 31}