2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, future, lxml }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymavlink";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "2.4.35";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-P2pqcxI6w9cw4b26g5ad5CeW9Sf1fNN0FGiIzOWfOCU=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|