about summary refs log tree commit diff
path: root/pkgs/applications/misc/tandoor-recipes
diff options
context:
space:
mode:
authorJan van Brügge <supermanitu@gmail.com>2023-12-10 13:54:06 +0000
committerJan van Brügge <supermanitu@gmail.com>2023-12-10 13:54:06 +0000
commitc2685f11a1dbed95e6bbd130936abd30267bbf32 (patch)
tree6fbcef1704cc49ce057dcd9777e6a12345b64d74 /pkgs/applications/misc/tandoor-recipes
parentcb417ea2d2ae5117e911d2a61ca6cc78a6a2e159 (diff)
tandoor-recipes: Fix URL import
Diffstat (limited to 'pkgs/applications/misc/tandoor-recipes')
-rw-r--r--pkgs/applications/misc/tandoor-recipes/default.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/pkgs/applications/misc/tandoor-recipes/default.nix b/pkgs/applications/misc/tandoor-recipes/default.nix
index 2dde47d25f272..cdd143cc766da 100644
--- a/pkgs/applications/misc/tandoor-recipes/default.nix
+++ b/pkgs/applications/misc/tandoor-recipes/default.nix
@@ -5,7 +5,20 @@
 , fetchpatch
 }:
 let
-  python = python3;
+  python = python3.override {
+    packageOverrides = self: super: {
+      validators = super.validators.overridePythonAttrs (_: rec {
+        version = "0.20.0";
+        src = fetchFromGitHub {
+          owner = "python-validators";
+          repo = "validators";
+          rev = version;
+          hash = "sha256-ZnLyTHlsrXthGnaPzlV2ga/UTm5SSEHLTwC/tobiPak=";
+        };
+        propagatedBuildInputs = [ super.decorator super.six ];
+      });
+    };
+  };
 
   common = callPackage ./common.nix { };