python3Packages.django-crispy-bootstrap3: init at 2024.1

This commit is contained in:
Kerstin Humm 2024-07-22 17:05:43 +02:00 committed by Valentin Gagarin
parent 05a34eb176
commit 5ced09d094
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
setuptools,
pytestCheckHook,
pytest-django,
django-crispy-forms,
}:
buildPythonPackage rec {
pname = "django-crispy-bootstrap3";
version = "2024.1";
pyproject = true;
src = fetchFromGitHub {
owner = "django-crispy-forms";
repo = "crispy-bootstrap3";
rev = "refs/tags/${version}";
hash = "sha256-w5CGWf14Wa8hndpk5r4hlz6gGykvRL+1AhA5Pz5Ejtk=";
};
dependencies = [
django
setuptools
];
nativeCheckInputs = [
pytest-django
pytestCheckHook
django-crispy-forms
];
pythonImportsCheck = [ "crispy_bootstrap3" ];
meta = with lib; {
description = "Bootstrap 3 template pack for django-crispy-forms";
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap3";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
}

View File

@ -3289,6 +3289,8 @@ self: super: with self; {
django-countries = callPackage ../development/python-modules/django-countries { };
django-crispy-bootstrap3 = callPackage ../development/python-modules/django-crispy-bootstrap3 { };
django-crispy-bootstrap4 = callPackage ../development/python-modules/django-crispy-bootstrap4 { };
django-crispy-bootstrap5 = callPackage ../development/python-modules/django-crispy-bootstrap5 { };