nix-ros-overlay/distros/rolling/nobleo-socketcan-bridge/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-clang-format, ament-cmake-cppcheck, ament-cmake-cpplint, ament-cmake-lint-cmake, ament-cmake-ros, ament-cmake-xmllint, ament-lint-auto, can-msgs, diagnostic-msgs, diagnostic-updater, fmt, rclcpp, rclcpp-components }:
buildRosPackage {
pname = "ros-rolling-nobleo-socketcan-bridge";
version = "1.0.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/nobleo_socketcan_bridge-release/archive/release/rolling/nobleo_socketcan_bridge/1.0.1-1.tar.gz";
name = "1.0.1-1.tar.gz";
sha256 = "abd9ba457d8c1241f16c9a7afe91ea53e54ddd30e2dda7f062e335d900a9b6bf";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-ros ];
checkInputs = [ ament-cmake-clang-format ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-lint-cmake ament-cmake-xmllint ament-lint-auto ];
propagatedBuildInputs = [ can-msgs diagnostic-msgs diagnostic-updater fmt rclcpp rclcpp-components ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Simple wrapper around SocketCAN";
license = with lib.licenses; [ asl20 ];
};
}