159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
38 lines
925 B
Nix
38 lines
925 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
django,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-webpack-loader";
|
|
version = "3.1.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-8Rt5cA0b/BKZExvfS6R5wewgD4OhQA4aL+tcK6e2+MQ=";
|
|
};
|
|
|
|
build-system = [ setuptools-scm ];
|
|
|
|
dependencies = [ django ];
|
|
|
|
# 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";
|
|
changelog = "https://github.com/django-webpack/django-webpack-loader/blob/${version}/CHANGELOG.md";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ peterromfeldhk ];
|
|
};
|
|
}
|