1{
2 lib,
3 buildPythonPackage,
4 django,
5 fetchPypi,
6 pythonOlder,
7 setuptools-scm,
8}:
9
10buildPythonPackage rec {
11 pname = "django-webpack-loader";
12 version = "3.1.0";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-sGuDyoGe1Lu4WKtXuNjLZ6JcSlftgi3t1On+5MCXr9U=";
20 };
21
22 build-system = [ setuptools-scm ];
23
24 dependencies = [ django ];
25
26 # django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?)
27 doCheck = false;
28
29 pythonImportsCheck = [ "webpack_loader" ];
30
31 meta = with lib; {
32 description = "Use webpack to generate your static bundles";
33 homepage = "https://github.com/owais/django-webpack-loader";
34 changelog = "https://github.com/django-webpack/django-webpack-loader/blob/${version}/CHANGELOG.md";
35 license = with licenses; [ mit ];
36 maintainers = with maintainers; [ peterromfeldhk ];
37 };
38}