nix-ros-overlay/distros/jazzy/controller-interface/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, ament-cmake-gen-version-h, ament-cmake-gmock, geometry-msgs, hardware-interface, rclcpp-lifecycle, realtime-tools, sensor-msgs }:
buildRosPackage {
pname = "ros-jazzy-controller-interface";
version = "4.27.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/jazzy/controller_interface/4.27.0-1.tar.gz";
name = "4.27.0-1.tar.gz";
sha256 = "b91eadb90d0dc325992d83e60ef5f7a2c8d337a87bca1aca2e0412c78ef003ff";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-gen-version-h sensor-msgs ];
checkInputs = [ ament-cmake-gmock geometry-msgs ];
propagatedBuildInputs = [ hardware-interface rclcpp-lifecycle realtime-tools ];
nativeBuildInputs = [ ament-cmake ament-cmake-gen-version-h ];
meta = {
description = "Description of controller_interface";
license = with lib.licenses; [ asl20 ];
};
}