9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
39 lines
912 B
Nix
39 lines
912 B
Nix
{ stdenv, lib, buildPythonApplication, fetchPypi, lxml, matplotlib, numpy
|
|
, opencv4, pymavlink, pyserial, setuptools, wxPython_4_2, billiard
|
|
, gnureadline }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "MAVProxy";
|
|
version = "1.8.62";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-XypOQNETmxg9DYcuCGkXH9/LwCq+pR23KbNfP0mfs3I=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace "opencv-python" ""
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
lxml
|
|
matplotlib
|
|
numpy
|
|
opencv4
|
|
pymavlink
|
|
pyserial
|
|
setuptools
|
|
wxPython_4_2
|
|
] ++ lib.optionals stdenv.isDarwin [ billiard gnureadline ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "MAVLink proxy and command line ground station";
|
|
homepage = "https://github.com/ArduPilot/MAVProxy";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
};
|
|
}
|