about summary refs log tree commit diff
path: root/pkgs/applications/misc/tandoor-recipes
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/applications/misc/tandoor-recipes
parent6ca1fd3038b2f6613e489ada1afeeefa96688495 (diff)
tandoor-recipes: fix build
Diffstat (limited to 'pkgs/applications/misc/tandoor-recipes')
-rw-r--r--pkgs/applications/misc/tandoor-recipes/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tandoor-recipes/default.nix b/pkgs/applications/misc/tandoor-recipes/default.nix
index a15b0a4ab7cb2..89d1740a802c7 100644
--- a/pkgs/applications/misc/tandoor-recipes/default.nix
+++ b/pkgs/applications/misc/tandoor-recipes/default.nix
@@ -1,12 +1,25 @@
 { callPackage
 , nixosTests
 , python3
+, fetchFromGitHub
 }:
 let
   python = python3.override {
     packageOverrides = self: super: {
       django = super.django_4;
 
+      django-crispy-forms = super.django-crispy-forms.overridePythonAttrs (_: rec {
+        version = "1.14.0";
+        format = "setuptools";
+
+        src = fetchFromGitHub {
+          owner = "django-crispy-forms";
+          repo = "django-crispy-forms";
+          rev = "refs/tags/${version}";
+          hash = "sha256-NZ2lWxsQHc7Qc4HDoWgjJTZ/bJHmjpBf3q1LVLtzA+8=";
+        };
+      });
+
       # Tests are incompatible with Django 4
       django-js-reverse = super.django-js-reverse.overridePythonAttrs (_: {
         doCheck = false;