From d6e99b9efe6d42caa58c4751a1a1cb0434c7f333 Mon Sep 17 00:00:00 2001 From: Harinn Date: Mon, 15 Jun 2026 21:51:49 +0700 Subject: [PATCH 1/2] python3Packages.xstatic-jquery-ui: migrate to pyproject --- .../python-modules/xstatic-jquery-ui/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-jquery-ui/default.nix b/pkgs/development/python-modules/xstatic-jquery-ui/default.nix index 018ceccc13b2..24507b96d3d0 100644 --- a/pkgs/development/python-modules/xstatic-jquery-ui/default.nix +++ b/pkgs/development/python-modules/xstatic-jquery-ui/default.nix @@ -2,13 +2,14 @@ buildPythonPackage, lib, fetchPypi, + setuptools, xstatic-jquery, }: buildPythonPackage rec { pname = "xstatic-jquery-ui"; version = "1.13.0.1"; - format = "setuptools"; + pyproject = true; src = fetchPypi { pname = "XStatic-jquery-ui"; @@ -16,10 +17,12 @@ buildPythonPackage rec { sha256 = "3697e5f0ef355b8f4a1c724221592683c2db031935cbb57b46224eef474bd294"; }; + build-system = [ setuptools ]; + # no tests implemented doCheck = false; - propagatedBuildInputs = [ xstatic-jquery ]; + dependencies = [ xstatic-jquery ]; meta = { homepage = "https://jqueryui.com/"; From 651cd7fd7d1d9b244f289c3c92e899443871a5b9 Mon Sep 17 00:00:00 2001 From: Harinn Date: Mon, 15 Jun 2026 21:53:42 +0700 Subject: [PATCH 2/2] python3Packages.xstatic-jquery-ui: modernize --- .../python-modules/xstatic-jquery-ui/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-jquery-ui/default.nix b/pkgs/development/python-modules/xstatic-jquery-ui/default.nix index 24507b96d3d0..56ef542084f1 100644 --- a/pkgs/development/python-modules/xstatic-jquery-ui/default.nix +++ b/pkgs/development/python-modules/xstatic-jquery-ui/default.nix @@ -6,15 +6,17 @@ xstatic-jquery, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "xstatic-jquery-ui"; version = "1.13.0.1"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { pname = "XStatic-jquery-ui"; - inherit version; - sha256 = "3697e5f0ef355b8f4a1c724221592683c2db031935cbb57b46224eef474bd294"; + inherit (finalAttrs) version; + hash = "sha256-Npfl8O81W49KHHJCIVkmg8LbAxk1y7V7RiJO70dL0pQ="; }; build-system = [ setuptools ]; @@ -24,10 +26,12 @@ buildPythonPackage rec { dependencies = [ xstatic-jquery ]; + pythonImportsCheck = [ "xstatic.pkg.jquery_ui" ]; + meta = { homepage = "https://jqueryui.com/"; description = "jquery-ui packaged static files for python"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ makefu ]; }; -} +})