python3Packages.xstatic-jquery: migrate to pyproject (#535922)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-28 13:19:27 +00:00
committed by GitHub
@@ -2,22 +2,29 @@
buildPythonPackage,
lib,
fetchPypi,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "xstatic-jquery";
version = "3.5.1.1";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "XStatic-jQuery";
inherit (finalAttrs) version;
sha256 = "e0ae8f8ec5bbd28045ba4bca06767a38bd5fc27cf9b71f434589f59370dcd323";
hash = "sha256-4K6PjsW70oBFukvKBnZ6OL1fwnz5tx9DRYn1k3Dc0yM=";
};
build-system = [ setuptools ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "xstatic.pkg.jquery" ];
meta = {
homepage = "https://jquery.org";
description = "jquery packaged static files for python";