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

27 lines
914 B
Nix
Raw Normal View History

# 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.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbag2-release/archive/release/iron/rosbag2_examples_cpp/0.22.5-1.tar.gz";
name = "0.22.5-1.tar.gz";
sha256 = "57719d22373a1e831674dd7375996d6a1bdd1db7669fff755a46d15ce7eefd9d";
};
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 ];
};
}