nix-ros-overlay/distros/humble/ament-cmake-catch2/default.nix

25 lines
846 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-core, ament-cmake-test }:
buildRosPackage {
pname = "ros-humble-ament-cmake-catch2";
version = "1.2.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_cmake_catch2-release/archive/release/humble/ament_cmake_catch2/1.2.1-1.tar.gz";
name = "1.2.1-1.tar.gz";
sha256 = "62136b0196fc71bfcd68893a814f174c4f9f867a38972ca8e9d113e392ccb50e";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
propagatedBuildInputs = [ ament-cmake-test ];
nativeBuildInputs = [ ament-cmake-core ament-cmake-test ];
meta = {
description = "Allows integrating catch2 tests in the ament buildsystem with CMake";
license = with lib.licenses; [ asl20 ];
};
}