python312Packages.flask-assets: disable tests, add imports check

This commit is contained in:
Martin Weinelt
2024-07-09 00:58:32 +02:00
parent 7e97b878e8
commit 0b06e7731d
@@ -5,8 +5,7 @@
setuptools,
flask,
webassets,
flask-script,
pynose,
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -31,10 +30,14 @@ buildPythonPackage rec {
propagatedBuildInputs = [
flask
webassets
flask-script
pynose
];
doCheck = false; # tests are broken with webassets 2.0
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "flask_assets" ];
meta = with lib; {
homepage = "https://github.com/miracle2k/flask-assets";
description = "Asset management for Flask, to compress and merge CSS and Javascript files";