mavproxy: fix darwin build
This commit is contained in:
parent
a0c2948861
commit
bb2879d593
1 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
|
||||
, setuptools, wxPython_4_0 }:
|
||||
{ stdenv, lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
|
||||
, setuptools, wxPython_4_0, billiard, gnureadline }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "MAVProxy";
|
||||
|
@ -10,6 +10,11 @@ buildPythonApplication rec {
|
|||
sha256 = "fe046481b793b592334749249620fce8a463f4c46b394ff744645975465d677b";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "opencv-python" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
numpy
|
||||
|
@ -17,7 +22,7 @@ buildPythonApplication rec {
|
|||
pyserial
|
||||
setuptools
|
||||
wxPython_4_0
|
||||
];
|
||||
] ++ lib.optionals stdenv.isDarwin [ billiard gnureadline ];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in a new issue