nix-ros-overlay/distros/humble/ros2interface/default.nix

24 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-index-python, ament-pep257, ament-xmllint, launch, launch-testing, launch-testing-ros, python3Packages, ros2cli, ros2cli-test-interfaces, rosidl-runtime-py, test-msgs }:
buildRosPackage {
pname = "ros-humble-ros2interface";
version = "0.18.12-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/humble/ros2interface/0.18.12-1.tar.gz";
name = "0.18.12-1.tar.gz";
sha256 = "51041e078a7dff302ec8fed8296be5d236bbb41f1e889ac0a970b9c4e4362375";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint launch launch-testing launch-testing-ros python3Packages.pytest python3Packages.pytest-timeout ros2cli-test-interfaces test-msgs ];
propagatedBuildInputs = [ ament-index-python ros2cli rosidl-runtime-py ];
meta = {
description = "The interface command for ROS 2 command line tools";
license = with lib.licenses; [ asl20 ];
};
}