gnu: Add python-crispy-bootstrap4.

* gnu/packages/django.scm (python-crispy-bootstrap4): New variable.

Change-Id: Id07709f43fda7623fa71d805804c60888f2415aa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-29 08:05:38 +02:00 committed by Sharlatan Hellseher
parent 74c6da3ff4
commit 03c8dab344
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -169,6 +169,36 @@ your project into different processes.")
@code{python-django-crispy-forms}.") @code{python-django-crispy-forms}.")
(license license:expat))) (license license:expat)))
(define-public python-crispy-bootstrap4
(package
(name "python-crispy-bootstrap4")
(version "2025.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/django-crispy-forms/crispy-bootstrap4")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0kyyyrg39ckqw3pmsq67g5xzgmcd7xjgz7vpsr97gaai1frnsvnr"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(setenv "PYTHONPATH" "."))))))
(propagated-inputs (list python-django python-django-crispy-forms))
(native-inputs (list python-pytest python-pytest-django python-setuptools))
(home-page "https://github.com/django-crispy-forms/crispy-bootstrap4")
(synopsis "Bootstrap4 template pack for django-crispy-forms")
(description
"This package provides a bootstrap4 template pack for
@code{python-django-crispy-forms}.")
(license license:expat)))
(define-public python-django (define-public python-django
(package (package
(name "python-django") (name "python-django")