ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
36 lines
884 B
Nix
36 lines
884 B
Nix
{ stdenv, lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
|
|
, setuptools, wxPython_4_0, billiard, gnureadline }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "MAVProxy";
|
|
version = "1.8.31";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "51d4a21372fcac615a0191cb29c444889ecfede402e95c847346842400a86273";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace "opencv-python" ""
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
matplotlib
|
|
numpy
|
|
pymavlink
|
|
pyserial
|
|
setuptools
|
|
wxPython_4_0
|
|
] ++ 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.gpl3;
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
};
|
|
}
|