nix-ros-overlay/distros/rolling/ros2acceleration/default.nix

24 lines
988 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, ament-xmllint, python3Packages, rclpy, ros2cli, rosidl-runtime-py, test-msgs }:
buildRosPackage {
pname = "ros-rolling-ros2acceleration";
version = "0.5.1-r3";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2acceleration-release/archive/release/rolling/ros2acceleration/0.5.1-3.tar.gz";
name = "0.5.1-3.tar.gz";
sha256 = "0b507d254a7bd88f3a472f2339efa91627137ffa2a4b145fdb8110fb9475e128";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint python3Packages.pytest test-msgs ];
propagatedBuildInputs = [ python3Packages.numpy python3Packages.pyyaml rclpy ros2cli rosidl-runtime-py ];
meta = {
description = "The acceleration command for ROS 2 command line tools.";
license = with lib.licenses; [ asl20 ];
};
}