Merge pull request #288943 from mweinelt/frigate-flask3.0-compat
frigate: fix flask 3.0 compat
This commit is contained in:
commit
2804f529b6
1 changed files with 10 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
, python3
|
, python3
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch2
|
||||||
, frigate
|
, frigate
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
@ -58,6 +59,14 @@ python.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch2 {
|
||||||
|
name = "frigate-flask3.0-compat.patch";
|
||||||
|
url = "https://github.com/blakeblackshear/frigate/commit/56bdacc1c661eff8a323e033520e75e2ba0a3842.patch";
|
||||||
|
hash = "sha256-s/goUJxIbjq/woCEOEZECdcZoJDoWc1eM63sd60cxeY=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
echo 'VERSION = "${version}"' > frigate/version.py
|
echo 'VERSION = "${version}"' > frigate/version.py
|
||||||
|
|
||||||
|
@ -97,6 +106,7 @@ python.pkgs.buildPythonApplication rec {
|
||||||
click
|
click
|
||||||
flask
|
flask
|
||||||
imutils
|
imutils
|
||||||
|
markupsafe
|
||||||
matplotlib
|
matplotlib
|
||||||
norfair
|
norfair
|
||||||
numpy
|
numpy
|
||||||
|
|
Loading…
Reference in a new issue