2024-05-24 14:00:52 +00:00
|
|
|
|
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-cmake-gtest, ament-lint-auto, ament-lint-common, can-msgs, lifecycle-msgs, rclcpp, rclcpp-components, rclcpp-lifecycle, ros2-socketcan-msgs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-jazzy-ros2-socketcan";
|
2024-07-26 13:34:25 +00:00
|
|
|
version = "1.3.0-r1";
|
2024-05-24 14:00:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-07-26 13:34:25 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros2_socketcan-release/archive/release/jazzy/ros2_socketcan/1.3.0-1.tar.gz";
|
|
|
|
name = "1.3.0-1.tar.gz";
|
|
|
|
sha256 = "6746526f0edee27ab04b92805c5a831415cdf2095c370e3ac2f5d0a57f486066";
|
2024-05-24 14:00:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake-auto ];
|
|
|
|
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
|
|
|
|
propagatedBuildInputs = [ can-msgs lifecycle-msgs rclcpp rclcpp-components rclcpp-lifecycle ros2-socketcan-msgs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-auto ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple wrapper around SocketCAN";
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|