1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 future,
6 lxml,
7}:
8
9buildPythonPackage rec {
10 pname = "pymavlink";
11 version = "2.4.43";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-IcShujVcBXQtKvQVEFdtbgjboNd2AunqY1MxzQdV7nY=";
17 };
18
19 propagatedBuildInputs = [
20 future
21 lxml
22 ];
23
24 # No tests included in PyPI tarball. We cannot use the GitHub tarball because
25 # we would like to use the same commit of the mavlink messages repo as
26 # included in the PyPI tarball, and there is no easy way to determine what
27 # commit is included.
28 doCheck = false;
29
30 pythonImportsCheck = [ "pymavlink" ];
31
32 meta = with lib; {
33 description = "Python MAVLink interface and utilities";
34 homepage = "https://github.com/ArduPilot/pymavlink";
35 license = with licenses; [
36 lgpl3Plus
37 mit
38 ];
39 maintainers = with maintainers; [ lopsided98 ];
40 };
41}