Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mavproxy: init at 1.8.17 #75640

Merged
merged 2 commits into from Dec 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 31 additions & 0 deletions pkgs/applications/science/robotics/mavproxy/default.nix
@@ -0,0 +1,31 @@
{ lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
, setuptools, wxPython_4_0 }:

buildPythonApplication rec {
pname = "MAVProxy";
version = "1.8.17";

src = fetchPypi {
inherit pname version;
sha256 = "193hjilsmbljbgj7v6icy3b4hzm14l0z6v05v7ycx6larij5xj2r";
};

propagatedBuildInputs = [
matplotlib
numpy
pymavlink
pyserial
setuptools
wxPython_4_0
];

# 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 ];
};
}
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/pymavlink/default.nix
@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, future, lxml }:

buildPythonPackage rec {
pname = "pymavlink";
version = "2.4.1";

src = fetchPypi {
inherit pname version;
sha256 = "0y9rz3piddzdjpp7d5w9xi6lc9v9b4p4375a5hrfiphrmhds85i3";
};

propagatedBuildInputs = [ future lxml ];
jonringer marked this conversation as resolved.
Show resolved Hide resolved

# No tests included in PyPI tarball
doCheck = false;
jonringer marked this conversation as resolved.
Show resolved Hide resolved

meta = with lib; {
description = "Python MAVLink interface and utilities";
homepage = "https://github.com/ArduPilot/pymavlink";
license = licenses.lgpl3;
maintainers = with maintainers; [ lopsided98 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -10160,6 +10160,8 @@ in
maven = maven3;
maven3 = callPackage ../development/tools/build-managers/apache-maven { };

mavproxy = python3Packages.callPackage ../applications/science/robotics/mavproxy { };

go-md2man = callPackage ../development/tools/misc/md2man {};

mage = callPackage ../development/tools/build-managers/mage { };
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -1063,6 +1063,8 @@ in {

pymatgen-lammps = callPackage ../development/python-modules/pymatgen-lammps { };

pymavlink = callPackage ../development/python-modules/pymavlink { };

pymsgbox = callPackage ../development/python-modules/pymsgbox { };

pynisher = callPackage ../development/python-modules/pynisher { };
Expand Down