1{ lib, buildPythonPackage, fetchPypi, future, lxml }: 2 3buildPythonPackage rec { 4 pname = "pymavlink"; 5 version = "2.4.35"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "sha256-P2pqcxI6w9cw4b26g5ad5CeW9Sf1fNN0FGiIzOWfOCU="; 10 }; 11 12 propagatedBuildInputs = [ future lxml ]; 13 14 # No tests included in PyPI tarball. We cannot use the GitHub tarball because 15 # we would like to use the same commit of the mavlink messages repo as 16 # included in the PyPI tarball, and there is no easy way to determine what 17 # commit is included. 18 doCheck = false; 19 20 pythonImportsCheck = [ "pymavlink" ]; 21 22 meta = with lib; { 23 description = "Python MAVLink interface and utilities"; 24 homepage = "https://github.com/ArduPilot/pymavlink"; 25 license = with licenses; [ lgpl3Plus mit ]; 26 maintainers = with maintainers; [ lopsided98 ]; 27 }; 28}