From ea60f68a878bf1b74aa4e874a779ecb60ba95341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 2 Nov 2024 17:38:42 -0700 Subject: [PATCH] mavproxy: use opencv-python --- pkgs/applications/science/robotics/mavproxy/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/science/robotics/mavproxy/default.nix b/pkgs/applications/science/robotics/mavproxy/default.nix index 86afe4e5ffdb..bae3f747ba1a 100644 --- a/pkgs/applications/science/robotics/mavproxy/default.nix +++ b/pkgs/applications/science/robotics/mavproxy/default.nix @@ -5,7 +5,7 @@ , lxml , matplotlib , numpy -, opencv4 +, opencv-python , pymavlink , pyserial , setuptools @@ -25,16 +25,11 @@ buildPythonApplication rec { hash = "sha256-A7tqV1kBCSuWHJUTdUZGcPY/r7X1edGZs6xDctpMbMI="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace "opencv-python" "" - ''; - propagatedBuildInputs = [ lxml matplotlib numpy - opencv4 + opencv-python pymavlink pyserial setuptools