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