Merge pull request #267446 from mweinelt/frigate-opencv-relax

frigate: drop opencv pin

authored by Martin Weinelt and committed by GitHub 07adfe61 7a6a55e4

+1 -24
+1 -24
pkgs/applications/video/frigate/default.nix
··· 5 5 , fetchurl 6 6 , fetchpatch 7 7 , frigate 8 - , opencv4 9 8 , nixosTests 10 9 }: 11 10 ··· 26 25 27 26 python = python3.override { 28 27 packageOverrides = self: super: { 29 - # https://github.com/blakeblackshear/frigate/blob/v0.12.0/requirements-wheels.txt#L7 30 - opencv = super.toPythonModule ((opencv4.override { 31 - enablePython = true; 32 - pythonPackages = self; 33 - }).overrideAttrs (oldAttrs: rec { 34 - version = "4.5.5"; 35 - src = fetchFromGitHub { 36 - owner = "opencv"; 37 - repo = "opencv"; 38 - rev = "refs/tags/${version}"; 39 - hash = "sha256-TJfzEAMh4JSshZ7oEZPgB59+NBACsj6Z5TCzVOBaEP4="; 40 - }; 41 - contribSrc = fetchFromGitHub { 42 - owner = "opencv"; 43 - repo = "opencv_contrib"; 44 - rev = "refs/tags/${version}"; 45 - hash = "sha256-skuH9GYg0mivGaJjxbggXk4x/0bbQISrAawA3ZUGfCk="; 46 - }; 47 - postUnpack = '' 48 - cp --no-preserve=mode -r "${contribSrc}/modules" "$NIX_BUILD_TOP/source/opencv_contrib" 49 - ''; 50 - })); 51 28 }; 52 29 }; 53 30 ··· 129 106 imutils 130 107 matplotlib 131 108 numpy 132 - opencv 109 + opencv4 133 110 openvino 134 111 paho-mqtt 135 112 peewee