mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 10:14:50 +03:00
26 lines
1.3 KiB
Nix
26 lines
1.3 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-cmake, rosidl-default-generators, rosidl-default-runtime, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-logging-demo";
|
|
version = "0.20.5-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/humble/logging_demo/0.20.5-1.tar.gz";
|
|
name = "0.20.5-1.tar.gz";
|
|
sha256 = "fa7f1d65d9cfe6717c73ff3386cf190f6dcb843253fb269e7c8f879f33438982";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake rosidl-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 ];
|
|
};
|
|
}
|