From c2685f11a1dbed95e6bbd130936abd30267bbf32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20van=20Br=C3=BCgge?= Date: Sun, 10 Dec 2023 13:54:06 +0000 Subject: [PATCH] tandoor-recipes: Fix URL import --- .../applications/misc/tandoor-recipes/default.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/tandoor-recipes/default.nix b/pkgs/applications/misc/tandoor-recipes/default.nix index 2dde47d25f27..cdd143cc766d 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 { };