Merge pull request #288943 from mweinelt/frigate-flask3.0-compat

frigate: fix flask 3.0 compat

authored by Martin Weinelt and committed by GitHub 2804f529 e4dbabf8

+10
+10
pkgs/applications/video/frigate/default.nix
··· 3 , python3 4 , fetchFromGitHub 5 , fetchurl 6 , frigate 7 , nixosTests 8 }: ··· 58 59 inherit src; 60 61 postPatch = '' 62 echo 'VERSION = "${version}"' > frigate/version.py 63 ··· 97 click 98 flask 99 imutils 100 matplotlib 101 norfair 102 numpy
··· 3 , python3 4 , fetchFromGitHub 5 , fetchurl 6 + , fetchpatch2 7 , frigate 8 , nixosTests 9 }: ··· 59 60 inherit src; 61 62 + patches = [ 63 + (fetchpatch2 { 64 + name = "frigate-flask3.0-compat.patch"; 65 + url = "https://github.com/blakeblackshear/frigate/commit/56bdacc1c661eff8a323e033520e75e2ba0a3842.patch"; 66 + hash = "sha256-s/goUJxIbjq/woCEOEZECdcZoJDoWc1eM63sd60cxeY="; 67 + }) 68 + ]; 69 + 70 postPatch = '' 71 echo 'VERSION = "${version}"' > frigate/version.py 72 ··· 106 click 107 flask 108 imutils 109 + markupsafe 110 matplotlib 111 norfair 112 numpy