python3Packages.xstatic-bootstrap: modernize

This commit is contained in:
Harinn
2026-06-15 21:37:43 +07:00
parent 5cd7f2b267
commit 6ef663aafe
@@ -5,14 +5,16 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "xstatic-bootstrap";
version = "5.3.8.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "xstatic_bootstrap";
inherit version;
inherit (finalAttrs) version;
hash = "sha256-BPXMlbvlQ40ehR0GxMoa1/hL02oJtN5aH1S1JOhQaFk=";
};
@@ -21,10 +23,12 @@ buildPythonPackage rec {
# 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 ];
};
}
})