1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/iron/rosbag2-examples-cpp/default.nix

26 lines
912 B
Nix

# Copyright 2024 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-iron-rosbag2-examples-cpp";
version = "0.22.8-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbag2-release/archive/release/iron/rosbag2_examples_cpp/0.22.8-1.tar.gz";
name = "0.22.8-1.tar.gz";
sha256 = "23efa8078b7999a26e7e813183104833f1f0e2841a5b8465ecdd72e4973de5f0";
};
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 ];
};
}