2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, future, lxml }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymavlink";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "2.4.29";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-0k6DKkb/Izk15JKrSOC0u5wL3vT4x2CelZt112vc/p0=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|