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