2024-02-07 01:22:34 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, django
|
|
|
|
, setuptools
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-django
|
|
|
|
, django-crispy-forms
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-crispy-bootstrap5";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2024.2";
|
2024-02-07 01:22:34 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "django-crispy-forms";
|
|
|
|
repo = "crispy-bootstrap5";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-ehcDwy53pZCqouvUm6qJG2FJzlFZaygTZxNYPOqH1q0=";
|
2024-02-07 01:22:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
django
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytest-django
|
|
|
|
pytestCheckHook
|
|
|
|
django-crispy-forms
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "crispy_bootstrap5" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bootstrap 5 template pack for django-crispy-forms";
|
|
|
|
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap5";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
}
|