depot/third_party/nixpkgs/pkgs/development/python-modules/dronecan/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
788 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dronecan";
version = "1.0.26";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-D2odxa9ADswrg6rgKLTyQulHpGec1r0lWRUZDV5YvyE=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dronecan" ];
meta = with lib; {
description = "Python implementation of the DroneCAN v1 protocol stack";
mainProgram = "dronecan_bridge.py";
longDescription = ''
DroneCAN is a lightweight protocol designed for reliable communication in aerospace and robotic applications via CAN bus.
'';
homepage = "https://dronecan.github.io/";
license = licenses.mit;
maintainers = teams.ororatech.members;
};
}