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/rolling/ros2component/default.nix

24 lines
1.1 KiB
Nix

# 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-rolling-ros2component";
version = "0.30.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/rolling/ros2component/0.30.1-1.tar.gz";
name = "0.30.1-1.tar.gz";
sha256 = "50a4ecec89b0dce60945a4b181485bea8aab3ae0639daa9872d2afb110bb4b40";
};
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 ];
};
}