fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
43 lines
895 B
Nix
43 lines
895 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
django,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
pytest-django,
|
|
django-crispy-forms,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-crispy-bootstrap5";
|
|
version = "2024.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "django-crispy-forms";
|
|
repo = "crispy-bootstrap5";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-ehcDwy53pZCqouvUm6qJG2FJzlFZaygTZxNYPOqH1q0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|