nix-ros-overlay/distros/jazzy/logging-demo/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, launch, launch-testing, launch-testing-ament-cmake, launch-testing-ros, rclcpp, rclcpp-components, rcutils, rmw-implementation-cmake, rosidl-default-generators, rosidl-default-runtime, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-logging-demo";
version = "0.33.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/jazzy/logging_demo/0.33.5-1.tar.gz";
name = "0.33.5-1.tar.gz";
sha256 = "1652248fb4239b359249fdb3924c5f664d21faeef76355585bd8e63592e854da";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake rosidl-default-generators ];
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake launch-testing-ros rmw-implementation-cmake ];
propagatedBuildInputs = [ rclcpp rclcpp-components rcutils rosidl-default-runtime std-msgs ];
nativeBuildInputs = [ ament-cmake rosidl-default-generators ];
meta = {
description = "Examples for using and configuring loggers.";
license = with lib.licenses; [ asl20 ];
};
}