From 073d3c1b77eaa0de36f064b60e47642469887fbf Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sun, 14 Aug 2022 21:16:42 -0400 Subject: [PATCH] mavproxy: add lxml dependency Also, alphabetize the dependencies. Add dependencies that are not part of install_requires (apparently due to some issue with pip and distro packaging). The closure size is increased somewhat by OpenCV, but this allows all the tools to work correctly. --- pkgs/applications/science/robotics/mavproxy/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/robotics/mavproxy/default.nix b/pkgs/applications/science/robotics/mavproxy/default.nix index 2d1bf3aa251e..b317913f0e7b 100644 --- a/pkgs/applications/science/robotics/mavproxy/default.nix +++ b/pkgs/applications/science/robotics/mavproxy/default.nix @@ -1,5 +1,6 @@ -{ stdenv, lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial -, setuptools, wxPython_4_0, billiard, gnureadline, opencv4 }: +{ stdenv, lib, buildPythonApplication, fetchPypi, lxml, matplotlib, numpy +, opencv4, pymavlink, pyserial, setuptools, wxPython_4_0, billiard +, gnureadline }: buildPythonApplication rec { pname = "MAVProxy"; @@ -16,13 +17,14 @@ buildPythonApplication rec { ''; propagatedBuildInputs = [ + lxml matplotlib numpy + opencv4 pymavlink pyserial setuptools wxPython_4_0 - opencv4 ] ++ lib.optionals stdenv.isDarwin [ billiard gnureadline ]; # No tests