1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/noetic/cob-bms-driver/default.nix

26 lines
1 KiB
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, cob-msgs, cob-srvs, diagnostic-msgs, diagnostic-updater, python3Packages, roscpp, rospy, sensor-msgs, socketcan-interface, std-msgs }:
buildRosPackage {
pname = "ros-noetic-cob-bms-driver";
version = "0.7.17-r2";
src = fetchurl {
url = "https://github.com/4am-robotics/cob_driver-release/archive/release/noetic/cob_bms_driver/0.7.17-2.tar.gz";
name = "0.7.17-2.tar.gz";
sha256 = "a503cd50625dabe1f4d31216872d01b5ed24cd5bd073718dbf3d46fd9d6193ea";
};
buildType = "catkin";
buildInputs = [ catkin ];
propagatedBuildInputs = [ cob-msgs cob-srvs diagnostic-msgs diagnostic-updater python3Packages.numpy roscpp rospy sensor-msgs socketcan-interface std-msgs ];
nativeBuildInputs = [ catkin ];
meta = {
description = "Driver package for interfacing the battery management system (BMS) on Care-O-bot.";
license = with lib.licenses; [ asl20 ];
};
}