Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
957 B
Nix
55 lines
957 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
buildPythonApplication,
|
|
fetchFromGitHub,
|
|
lxml,
|
|
matplotlib,
|
|
numpy,
|
|
opencv-python,
|
|
pymavlink,
|
|
pyserial,
|
|
setuptools,
|
|
wxpython,
|
|
billiard,
|
|
gnureadline,
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "MAVProxy";
|
|
version = "1.8.74";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ArduPilot";
|
|
repo = "MAVProxy";
|
|
tag = "v${version}";
|
|
hash = "sha256-1/bp3vlCXt4Hg36zwMKSzPSxW7xlxpfx2o+2uQixdos=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
lxml
|
|
matplotlib
|
|
numpy
|
|
opencv-python
|
|
pymavlink
|
|
pyserial
|
|
setuptools
|
|
wxpython
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.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 ];
|
|
};
|
|
}
|