818c48e259
GitOrigin-RevId: 14aef06d9b3ad1d07626bdbb16083b83f92dc6c1
36 lines
888 B
Nix
36 lines
888 B
Nix
{ stdenv, lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
|
|
, setuptools, wxPython_4_0, billiard, gnureadline }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "MAVProxy";
|
|
version = "1.8.43";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "685e595dc8ccf354a62b354b5ef4b1f9558c4b76b1216a093dd1cc1fae37dd27";
|
|
};
|
|
|
|
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.gpl3Plus;
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
};
|
|
}
|