1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "dronecan"; 10 version = "1.0.25"; 11 format = "setuptools"; 12 disabled = pythonOlder "3.3"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-0WKmVZwE6OgBckWWvPcn5BYqXMEt6Mr1P68UMHfRp4I="; 17 }; 18 19 nativeCheckInputs = [ 20 pytestCheckHook 21 ]; 22 23 pythonImportsCheck = [ 24 "dronecan" 25 ]; 26 27 meta = with lib; { 28 description = "Python implementation of the DroneCAN v1 protocol stack"; 29 longDescription = '' 30 DroneCAN is a lightweight protocol designed for reliable communication in aerospace and robotic applications via CAN bus. 31 ''; 32 homepage = "https://dronecan.github.io/"; 33 license = licenses.mit; 34 maintainers = [ teams.ororatech ]; 35 }; 36}