depot/third_party/nixpkgs/pkgs/development/python-modules/pymavlink/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

28 lines
851 B
Nix

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