nix-ros-overlay/distros/jazzy/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-jazzy-rosbag2-examples-cpp";
version = "0.26.6-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbag2-release/archive/release/jazzy/rosbag2_examples_cpp/0.26.6-1.tar.gz";
name = "0.26.6-1.tar.gz";
sha256 = "5f6892bfda16190380a70ac6230d6049095216b3f0c1f673c32e7cc4ca636b45";
};
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 ];
};
}