1{
2 lib,
3 buildPythonPackage,
4 django,
5 fetchFromGitHub,
6 setuptools-scm,
7}:
8
9buildPythonPackage rec {
10 pname = "django-webpack-loader";
11 version = "3.2.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "django-webpack";
16 repo = "django-webpack-loader";
17 tag = version;
18 hash = "sha256-2CmIaVDSZlqfSJVPVBmOcT89znjxQhe7ZHhe7i6DCGY=";
19 };
20
21 build-system = [ setuptools-scm ];
22
23 dependencies = [ django ];
24
25 doCheck = false; # tests require fetching node_modules
26
27 pythonImportsCheck = [ "webpack_loader" ];
28
29 meta = with lib; {
30 description = "Use webpack to generate your static bundles";
31 homepage = "https://github.com/owais/django-webpack-loader";
32 changelog = "https://github.com/django-webpack/django-webpack-loader/blob/${version}/CHANGELOG.md";
33 license = with licenses; [ mit ];
34 maintainers = with maintainers; [ peterromfeldhk ];
35 };
36}