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 {
|
buildPythonPackage rec {
|
||||||
pname = "django-webpack-loader";
|
pname = "django-webpack-loader";
|
||||||
version = "1.7.0";
|
version = "1.7.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-agZTglc3cbr0AHVMTTnAkTsKKaRTqUHfuRIu6+0hVy8=";
|
hash = "sha256-agZTglc3cbr0AHVMTTnAkTsKKaRTqUHfuRIu6+0hVy8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?)
|
# django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?)
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"webpack_loader"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Use webpack to generate your static bundles";
|
description = "Use webpack to generate your static bundles";
|
||||||
homepage = "https://github.com/owais/django-webpack-loader";
|
homepage = "https://github.com/owais/django-webpack-loader";
|
||||||
|
Loading…
Reference in New Issue
Block a user