nix-ros-overlay/distros/jazzy/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-jazzy-canopen-proxy-driver";
version = "0.3.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_canopen-release/archive/release/jazzy/canopen_proxy_driver/0.3.0-1.tar.gz";
name = "0.3.0-1.tar.gz";
sha256 = "fe93ed8e9a70599a430af648c49b53a1014ebfd331b1f0a8d97f11e0ffd45349";
};
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 ];
};
}