python310Packages.django-webpack-loader: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-11-19 10:55:14 +01:00 committed by GitHub
parent 0551d04c28
commit 61fc83558b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";