python312Packages.flask-assets: disable tests, add imports check
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user