2021-04-09 14:28:48 -04:00
|
|
|
|
2022-01-07 13:12:33 +00:00
|
|
|
# Copyright 2022 Open Source Robotics Foundation
|
2021-04-09 14:28:48 -04:00
|
|
|
# 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 }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-ros2-socketcan";
|
2022-02-25 13:30:51 +00:00
|
|
|
version = "1.1.0-r1";
|
2021-04-09 14:28:48 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-02-25 13:30:51 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros2_socketcan-release/archive/release/foxy/ros2_socketcan/1.1.0-1.tar.gz";
|
|
|
|
name = "1.1.0-1.tar.gz";
|
|
|
|
sha256 = "0e1d360e58b44ddfa46158a568d646042a0738513f9e42e801de5f73a3eabecb";
|
2021-04-09 14:28:48 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
|
|
|
|
propagatedBuildInputs = [ can-msgs lifecycle-msgs rclcpp rclcpp-components rclcpp-lifecycle ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-auto ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Simple wrapper around SocketCAN'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|