2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
django,
|
|
|
|
setuptools,
|
|
|
|
pytestCheckHook,
|
|
|
|
pytest-django,
|
|
|
|
django-crispy-forms,
|
2023-11-16 04:20:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-crispy-bootstrap4";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "2024.1";
|
2024-09-19 14:19:46 +00:00
|
|
|
pyproject = true;
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "django-crispy-forms";
|
|
|
|
repo = "crispy-bootstrap4";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-upHrNDhoY+8qD+aeXPcY452xUIyYjW0apf8mVo6pqY4=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
2023-11-16 04:20:00 +00:00
|
|
|
django
|
2024-09-19 14:19:46 +00:00
|
|
|
django-crispy-forms
|
2023-11-16 04:20:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytest-django
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "crispy_bootstrap4" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bootstrap 4 template pack for django-crispy-forms";
|
|
|
|
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap4";
|
2024-09-19 14:19:46 +00:00
|
|
|
changelog = "https://github.com/django-crispy-forms/crispy-bootstrap4/blob/${version}/CHANGELOG.md";
|
2023-11-16 04:20:00 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
}
|