1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 13:40:32 +03:00
nix-ros-overlay/distros/rolling/catch-ros2/default.nix

26 lines
900 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, rclcpp, ros2launch, std-srvs }:
buildRosPackage {
pname = "ros-rolling-catch-ros2";
version = "0.2.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/catch_ros2-release/archive/release/rolling/catch_ros2/0.2.1-1.tar.gz";
name = "0.2.1-1.tar.gz";
sha256 = "24484c01a58e4a228feee01c2035a3a4ce28ebe495313a0a602373bd14420f98";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ rclcpp ros2launch std-srvs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Catch2 testing framework for ROS 2 unit and integration tests.";
license = with lib.licenses; [ asl20 ];
};
}