depot/third_party/nixpkgs/pkgs/development/python-modules/pymavlink/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
911 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
future,
lxml,
}:
buildPythonPackage rec {
pname = "pymavlink";
version = "2.4.41";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-7TIlzphdBhA6qyUa/Ig9BKmKHW21xzmV595MqssfZs0=";
};
propagatedBuildInputs = [
future
lxml
];
# 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.
doCheck = false;
pythonImportsCheck = [ "pymavlink" ];
meta = with lib; {
description = "Python MAVLink interface and utilities";
homepage = "https://github.com/ArduPilot/pymavlink";
license = with licenses; [
lgpl3Plus
mit
];
maintainers = with maintainers; [ lopsided98 ];
};
}