nix-ros-overlay/distros/jazzy/rosbag2-examples-cpp/default.nix

26 lines
914 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, example-interfaces, rclcpp, rosbag2-cpp }:
buildRosPackage {
pname = "ros-jazzy-rosbag2-examples-cpp";
version = "0.26.7-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbag2-release/archive/release/jazzy/rosbag2_examples_cpp/0.26.7-1.tar.gz";
name = "0.26.7-1.tar.gz";
sha256 = "ba78bc6b78b9d3f7769da2e575c445d5044246f5fdc472fcf7b2a6e1e09a02a3";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ example-interfaces rclcpp rosbag2-cpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "rosbag2 C++ API tutorials and examples";
license = with lib.licenses; [ asl20 ];
};
}