depot/third_party/nixpkgs/pkgs/development/python-modules/pymavlink/default.nix
Default email 556d6f0562 Project import generated by Copybara.
GitOrigin-RevId: e4ef597edfd8a0ba5f12362932fc9b1dd01a0aef
2021-10-11 18:52:03 +02:00

28 lines
864 B
Nix

{ lib, buildPythonPackage, fetchPypi, future, lxml }:
buildPythonPackage rec {
pname = "pymavlink";
version = "2.4.17";
src = fetchPypi {
inherit pname version;
sha256 = "84e2af4d8099afd37c5d887261a168e7bde4ec2354f12f65c72dad1a4cd8f21d";
};
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 ];
};
}