mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 10:14:50 +03:00
26 lines
914 B
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 ];
|
|
};
|
|
}
|