2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, future, lxml }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymavlink";
|
2021-12-21 02:18:32 +00:00
|
|
|
version = "2.4.19";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 20:06:32 +00:00
|
|
|
sha256 = "8518f71c221c263770322355d0745da2fffc48238d04eb48bcf3ef6c35e5f722";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|