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/humble/ros2-socketcan/default.nix

26 lines
975 B
Nix
Raw Normal View History

# Copyright 2022 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 }:
buildRosPackage {
pname = "ros-humble-ros2-socketcan";
version = "1.1.0-r3";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_socketcan-release/archive/release/humble/ros2_socketcan/1.1.0-3.tar.gz";
name = "1.1.0-3.tar.gz";
sha256 = "faa44746237d959c156abcb6d59a3e5ec7f6f1d1f9053cfe0543a122881da0dd";
};
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 ];
};
}