From 2c3f6afeb286fca3e8d4ce45d281899234ac75cc Mon Sep 17 00:00:00 2001 From: Harinn Date: Sat, 6 Jun 2026 02:46:41 +0700 Subject: [PATCH 1/2] python3Packages.bleach-allowlist: migrate to pyproject --- .../python-modules/bleach-allowlist/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bleach-allowlist/default.nix b/pkgs/development/python-modules/bleach-allowlist/default.nix index 575d33f4f5e2..870266a36292 100644 --- a/pkgs/development/python-modules/bleach-allowlist/default.nix +++ b/pkgs/development/python-modules/bleach-allowlist/default.nix @@ -2,20 +2,23 @@ lib, buildPythonPackage, fetchPypi, + setuptools, bleach, }: buildPythonPackage (finalAttrs: { pname = "bleach-allowlist"; version = "1.0.3"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-VuIghgeaDmoxAK6Z5NuvIOslhUhlmOsOmUAIoRQo2ps="; }; - propagatedBuildInputs = [ bleach ]; + build-system = [ setuptools ]; + + dependencies = [ bleach ]; # No tests doCheck = false; From 8ab3a9d763e8edbfb764ec2153d7f9b8c9f2ce73 Mon Sep 17 00:00:00 2001 From: Harinn Date: Sat, 6 Jun 2026 02:48:10 +0700 Subject: [PATCH 2/2] python3Packages.bleach-allowlist: modernize --- pkgs/development/python-modules/bleach-allowlist/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/bleach-allowlist/default.nix b/pkgs/development/python-modules/bleach-allowlist/default.nix index 870266a36292..3cfdea9dc06c 100644 --- a/pkgs/development/python-modules/bleach-allowlist/default.nix +++ b/pkgs/development/python-modules/bleach-allowlist/default.nix @@ -11,6 +11,8 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-VuIghgeaDmoxAK6Z5NuvIOslhUhlmOsOmUAIoRQo2ps=";