summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-29 08:05:22 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-30 14:35:14 +0100
commit74c6da3ff4c2d0f7f66221d7fa0cc0f6d5ffaf42 (patch)
treec1fb62c8e21aafed7d85967d36b69debe3e699cb /gnu
parent496caa61df4c13735de636be18a8945d93ffdec6 (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/django.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 095fbd9da3..6ad122be17 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -139,6 +139,36 @@ a system that allows you to easily communicate between processes, and separate
your project into different processes.")
(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
(package
(name "python-django")