2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
django,
|
|
|
|
setuptools,
|
|
|
|
pytestCheckHook,
|
|
|
|
pytest-django,
|
|
|
|
django-crispy-forms,
|
2024-02-07 01:22:34 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-crispy-bootstrap5";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "2024.10";
|
2024-09-19 14:19:46 +00:00
|
|
|
pyproject = true;
|
2024-02-07 01:22:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "django-crispy-forms";
|
|
|
|
repo = "crispy-bootstrap5";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-10-04 16:56:33 +00:00
|
|
|
hash = "sha256-p2sc6rajy9A0YNnv1A0wphjm7Kc6HoNf7LM3Gu21PKI=";
|
2024-02-07 01:22:34 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
2024-02-07 01:22:34 +00:00
|
|
|
django
|
2024-09-19 14:19:46 +00:00
|
|
|
django-crispy-forms
|
2024-02-07 01:22:34 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytest-django
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "crispy_bootstrap5" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bootstrap 5 template pack for django-crispy-forms";
|
|
|
|
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap5";
|
2024-09-19 14:19:46 +00:00
|
|
|
changelog = "https://github.com/django-crispy-forms/crispy-bootstrap5/blob/v${version}/CHANGELOG.md";
|
2024-02-07 01:22:34 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
}
|