summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2021-04-23 00:53:54 -0400
committerGitHub <noreply@github.com>2021-04-23 06:53:54 +0200
commit7d262afed33cecadc292cbca2eacc93562653e2e (patch)
tree70a2052f6dc99907a02218d4691974381c7a5c30 /pkgs
parent0f080fb7f4a37b289de97981e99b5e1d1a374103 (diff)
downloadnixpkgs-7d262afed33cecadc292cbca2eacc93562653e2e.tar
nixpkgs-7d262afed33cecadc292cbca2eacc93562653e2e.tar.gz
nixpkgs-7d262afed33cecadc292cbca2eacc93562653e2e.tar.bz2
nixpkgs-7d262afed33cecadc292cbca2eacc93562653e2e.tar.lz
nixpkgs-7d262afed33cecadc292cbca2eacc93562653e2e.tar.xz
nixpkgs-7d262afed33cecadc292cbca2eacc93562653e2e.tar.zst
nixpkgs-7d262afed33cecadc292cbca2eacc93562653e2e.zip
python3Packages.pymavlink: 2.4.14 -> 2.4.15 (#120139)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pymavlink/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pymavlink/default.nix b/pkgs/development/python-modules/pymavlink/default.nix
index cf8c9513002..2f39be79821 100644
--- a/pkgs/development/python-modules/pymavlink/default.nix
+++ b/pkgs/development/python-modules/pymavlink/default.nix
@@ -2,22 +2,27 @@
 
 buildPythonPackage rec {
   pname = "pymavlink";
-  version = "2.4.14";
+  version = "2.4.15";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "3bc3709c735ebb3f98f19e96c8887868f4671077d4808076cfc5445912633881";
+    sha256 = "106va20k0ahy0l2qvxf8k5pvqkgdmxbgzd9kij9fkrahlba5mx3v";
   };
 
   propagatedBuildInputs = [ future lxml ];
 
-  # No tests included in PyPI tarball
+  # 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 = licenses.lgpl3;
+    license = with licenses; [ lgpl3Only mit ];
     maintainers = with maintainers; [ lopsided98 ];
   };
 }