1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/foxy/dataspeed-ulc-can/default.nix

27 lines
1.1 KiB
Nix
Raw Permalink Normal View History

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, can-msgs, dataspeed-dbw-common, dataspeed-ulc-msgs, geometry-msgs, rclcpp, rclpy, ros-testing, std-msgs }:
buildRosPackage {
pname = "ros-foxy-dataspeed-ulc-can";
version = "2.1.1-r1";
src = fetchurl {
url = "https://github.com/DataspeedInc-release/dbw_ros-release/archive/release/foxy/dataspeed_ulc_can/2.1.1-1.tar.gz";
name = "2.1.1-1.tar.gz";
sha256 = "937b32766f32911fef477a53ecf587d33f2df1739ddacf99507d2ae2b3673205";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gtest ros-testing ];
propagatedBuildInputs = [ can-msgs dataspeed-dbw-common dataspeed-ulc-msgs geometry-msgs rclcpp rclpy std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Package to translate ROS messages to and from CAN messages to interact with the Universal Lat/Lon Controller (ULC) firmware'';
license = with lib.licenses; [ bsdOriginal ];
};
}