about summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-crispy-forms
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-04-04 09:18:44 +0300
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-04-04 09:18:44 +0300
commit85e2231832a1cc10bebeb1ebae0b4d5541397738 (patch)
treea22da6747b1314dd45119fef0304017ab0bf7e7c /pkgs/development/python-modules/django-crispy-forms
parent6ca1fd3038b2f6613e489ada1afeeefa96688495 (diff)
tandoor-recipes: fix build
Diffstat (limited to 'pkgs/development/python-modules/django-crispy-forms')
-rw-r--r--pkgs/development/python-modules/django-crispy-forms/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/django-crispy-forms/default.nix b/pkgs/development/python-modules/django-crispy-forms/default.nix
index 53357b9d7ef83..c1cc31e8acfb4 100644
--- a/pkgs/development/python-modules/django-crispy-forms/default.nix
+++ b/pkgs/development/python-modules/django-crispy-forms/default.nix
@@ -2,6 +2,7 @@
 , buildPythonPackage
 , fetchFromGitHub
 , django
+, setuptools
 , pytestCheckHook
 , pytest-django
 }:
@@ -9,6 +10,7 @@
 buildPythonPackage rec {
   pname = "django-crispy-forms";
   version = "2.0";
+  format = "pyproject";
 
   src = fetchFromGitHub {
     owner = "django-crispy-forms";
@@ -19,6 +21,7 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [
     django
+    setuptools
   ];
 
   # FIXME: RuntimeError: Model class source.crispy_forms.tests.forms.CrispyTestModel doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.