From 74c6da3ff4c2d0f7f66221d7fa0cc0f6d5ffaf42 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 29 Sep 2025 08:05:22 +0200 Subject: [PATCH] gnu: Add python-crispy-bootstrap3. * gnu/packages/django.scm (python-crispy-bootstrap3): New variable. Change-Id: I7357f70a1e9a23b431aacf470afb86e534c778a7 Signed-off-by: Sharlatan Hellseher --- gnu/packages/django.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 095fbd9da32..6ad122be179 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")