nix-ros-overlay/distros/humble/canopen-proxy-driver/default.nix

26 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, ament-lint-auto, canopen-base-driver, canopen-core, canopen-interfaces, rclcpp, rclcpp-components, rclcpp-lifecycle, std-msgs, std-srvs }:
buildRosPackage {
pname = "ros-humble-canopen-proxy-driver";
version = "0.2.11-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_canopen-release/archive/release/humble/canopen_proxy_driver/0.2.11-2.tar.gz";
name = "0.2.11-2.tar.gz";
sha256 = "ba1c2c023db0aba936963c5244da8312431ecab4e3a8430e318d815d2ae56a8c";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ];
checkInputs = [ ament-lint-auto ];
propagatedBuildInputs = [ canopen-base-driver canopen-core canopen-interfaces rclcpp rclcpp-components rclcpp-lifecycle std-msgs std-srvs ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "Simple proxy driver for the ros2_canopen stack";
license = with lib.licenses; [ asl20 ];
};
}