Files
nixpkgs/pkgs/development/python-modules/django-webpack-loader/default.nix
2025-08-09 18:59:10 +02:00

37 lines
895 B
Nix

{
lib,
buildPythonPackage,
django,
fetchFromGitHub,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "django-webpack-loader";
version = "3.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "django-webpack";
repo = "django-webpack-loader";
tag = version;
hash = "sha256-2CmIaVDSZlqfSJVPVBmOcT89znjxQhe7ZHhe7i6DCGY=";
};
build-system = [ setuptools-scm ];
dependencies = [ django ];
doCheck = false; # tests require fetching node_modules
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 ];
};
}