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 , fetchurl 6 , fetchpatch 7 , frigate 8 - , opencv4 9 , nixosTests 10 }: 11 ··· 26 27 python = python3.override { 28 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 }; 52 }; 53 ··· 129 imutils 130 matplotlib 131 numpy 132 - opencv 133 openvino 134 paho-mqtt 135 peewee
··· 5 , fetchurl 6 , fetchpatch 7 , frigate 8 , nixosTests 9 }: 10 ··· 25 26 python = python3.override { 27 packageOverrides = self: super: { 28 }; 29 }; 30 ··· 106 imutils 107 matplotlib 108 numpy 109 + opencv4 110 openvino 111 paho-mqtt 112 peewee