2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, future, lxml }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymavlink";
|
2021-10-11 16:52:03 +00:00
|
|
|
version = "2.4.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-11 16:52:03 +00:00
|
|
|
sha256 = "84e2af4d8099afd37c5d887261a168e7bde4ec2354f12f65c72dad1a4cd8f21d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ future lxml ];
|
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
# No tests included in PyPI tarball. We cannot use the GitHub tarball because
|
|
|
|
# we would like to use the same commit of the mavlink messages repo as
|
|
|
|
# included in the PyPI tarball, and there is no easy way to determine what
|
|
|
|
# commit is included.
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
pythonImportsCheck = [ "pymavlink" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Python MAVLink interface and utilities";
|
|
|
|
homepage = "https://github.com/ArduPilot/pymavlink";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = with licenses; [ lgpl3Plus mit ];
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
|
|
};
|
|
|
|
}
|