587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
42 lines
885 B
Nix
42 lines
885 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 ];
|
|
};
|
|
}
|