Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions pkgs/development/python-modules/dronecan/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "dronecan";
version = "1.0.25";
format = "setuptools";
disabled = pythonOlder "3.3";

src = fetchPypi {
inherit pname version;
hash = "sha256-0WKmVZwE6OgBckWWvPcn5BYqXMEt6Mr1P68UMHfRp4I=";
};

nativeCheckInputs = [
pytestCheckHook
];

pythonImportsCheck = [
"dronecan"
];

meta = with lib; {
description = "Python implementation of the DroneCAN v1 protocol stack";
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3186,6 +3186,8 @@ self: super: with self; {

drms = callPackage ../development/python-modules/drms { };

dronecan = callPackage ../development/python-modules/dronecan { };

dropbox = callPackage ../development/python-modules/dropbox { };

ds-store = callPackage ../development/python-modules/ds-store { };
Expand Down