nixpkgs/pkgs/development/python-modules/pymavlink/default.nix
Ben Wolsieffer 37934f8ca3 python3Packages.pymavlink: license should be lgpl3Plus
The license file doesn't specify that later versions can be used, but I missed
that it is stated in the README: "pymavlink is released under the GNU Lesser
General Public License v3 or later."
2021-05-12 22:52:52 -04:00

29 lines
852 B
Nix

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