gnu: Add python-crispy-bootstrap3.

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

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

View file

@ -139,6 +139,36 @@ a system that allows you to easily communicate between processes, and separate
your project into different processes.") your project into different processes.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-crispy-bootstrap3
(package
(name "python-crispy-bootstrap3")
(version "2024.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/django-crispy-forms/crispy-bootstrap3")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1ncf8hz3yf8h0asvyi1g54ds0glp46zfcr6sklhsynbqzmcqd463"))))
(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-bootstrap3")
(synopsis "Bootstrap3 template pack for django-crispy-forms")
(description
"This package provides a bootstrap3 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")