1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/iron/ros2component/default.nix

25 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2024 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, composition-interfaces, python3Packages, pythonPackages, rcl-interfaces, rclcpp-components, rclpy, ros2cli, ros2node, ros2param, ros2pkg }:
buildRosPackage {
pname = "ros-iron-ros2component";
version = "0.25.8-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/iron/ros2component/0.25.8-1.tar.gz";
name = "0.25.8-1.tar.gz";
sha256 = "256946db7a8e49b37af4662fec6ea2f6802834fc8481561e3f65d8eb0f378c77";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint python3Packages.pytest-timeout pythonPackages.pytest ];
propagatedBuildInputs = [ ament-index-python composition-interfaces rcl-interfaces rclcpp-components rclpy ros2cli ros2node ros2param ros2pkg ];
meta = {
description = "The component command for ROS 2 command line tools.";
license = with lib.licenses; [ asl20 ];
};
}