From b83192144f73b0fe664157bda143e4a93944d043 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 30 Jun 2023 09:33:17 +0200 Subject: [PATCH] python311Packages.html-sanitizer: add format - disable onb unsupported Python releases --- pkgs/development/python-modules/html-sanitizer/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/html-sanitizer/default.nix b/pkgs/development/python-modules/html-sanitizer/default.nix index fe84a012e734..8c747d8a7588 100644 --- a/pkgs/development/python-modules/html-sanitizer/default.nix +++ b/pkgs/development/python-modules/html-sanitizer/default.nix @@ -4,11 +4,15 @@ , lxml , beautifulsoup4 , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "html-sanitizer"; version = "1.9.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "matthiask";