frigate: fix path to onvif wsdl files

Frigate assumes, that all its dependencies are in the same site-packages
directory as frigate itself, which is not the case with how we link
together environments using the PYTHONPATH.
This commit is contained in:
Martin Weinelt 2024-04-13 00:42:56 +02:00
parent 17bd78bfb1
commit e62c51a05c
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,12 @@ python.pkgs.buildPythonApplication rec {
url = "https://github.com/blakeblackshear/frigate/commit/56bdacc1c661eff8a323e033520e75e2ba0a3842.patch";
hash = "sha256-s/goUJxIbjq/woCEOEZECdcZoJDoWc1eM63sd60cxeY=";
})
(fetchpatch2 {
# https://github.com/blakeblackshear/frigate/pull/10967
name = "frigate-wsdl-path.patch";
url = "https://github.com/blakeblackshear/frigate/commit/b65656fa8733c1c2f3d944f716d2e9493ae7c99f.patch";
hash = "sha256-taPWFV4PldBGUKAwFMKag4W/3TLMSGdKLYG8bj1Y5mU=";
})
];
postPatch = ''