python3Packages.xstatic-bootstrap: migrate to pyproject (#535468)

This commit is contained in:
Sandro
2026-06-26 20:59:04 +00:00
committed by GitHub
@@ -2,26 +2,33 @@
buildPythonPackage,
lib,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "xstatic-bootstrap";
version = "5.3.8.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "xstatic_bootstrap";
inherit version;
inherit (finalAttrs) version;
hash = "sha256-BPXMlbvlQ40ehR0GxMoa1/hL02oJtN5aH1S1JOhQaFk=";
};
build-system = [ setuptools ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "xstatic.pkg.bootstrap" ];
meta = {
homepage = "https://getbootstrap.com";
description = "Bootstrap packaged static files for python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ makefu ];
};
}
})