mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +03:00
mavproxy: fix darwin build
This commit is contained in:
parent
a0c2948861
commit
bb2879d593
@ -1,5 +1,5 @@
|
|||||||
{ lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
|
{ stdenv, lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
|
||||||
, setuptools, wxPython_4_0 }:
|
, setuptools, wxPython_4_0, billiard, gnureadline }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "MAVProxy";
|
pname = "MAVProxy";
|
||||||
@ -10,6 +10,11 @@ buildPythonApplication rec {
|
|||||||
sha256 = "fe046481b793b592334749249620fce8a463f4c46b394ff744645975465d677b";
|
sha256 = "fe046481b793b592334749249620fce8a463f4c46b394ff744645975465d677b";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "opencv-python" ""
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
matplotlib
|
matplotlib
|
||||||
numpy
|
numpy
|
||||||
@ -17,7 +22,7 @@ buildPythonApplication rec {
|
|||||||
pyserial
|
pyserial
|
||||||
setuptools
|
setuptools
|
||||||
wxPython_4_0
|
wxPython_4_0
|
||||||
];
|
] ++ lib.optionals stdenv.isDarwin [ billiard gnureadline ];
|
||||||
|
|
||||||
# No tests
|
# No tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user