python310Packages.django-webpack-loader: add pythonImportsCheck
This commit is contained in:
parent
0551d04c28
commit
61fc83558b
|
@ -1,17 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-webpack-loader";
|
||||
version = "1.7.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-agZTglc3cbr0AHVMTTnAkTsKKaRTqUHfuRIu6+0hVy8=";
|
||||
hash = "sha256-agZTglc3cbr0AHVMTTnAkTsKKaRTqUHfuRIu6+0hVy8=";
|
||||
};
|
||||
|
||||
# django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?)
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"webpack_loader"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Use webpack to generate your static bundles";
|
||||
homepage = "https://github.com/owais/django-webpack-loader";
|
||||
|
|
Loading…
Reference in a new issue