nix-ros-overlay/distros/jazzy/rcl-logging-noop/default.nix

26 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gmock, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, launch-testing, python3Packages, rcl-logging-interface, rcutils }:
buildRosPackage {
pname = "ros-jazzy-rcl-logging-noop";
version = "3.1.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rcl_logging-release/archive/release/jazzy/rcl_logging_noop/3.1.1-1.tar.gz";
name = "3.1.1-1.tar.gz";
sha256 = "4513f32c76264d50efb0b3f0ff845e21755b1b5641af9caedd4390c25d1f1f7e";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros python3Packages.empy ];
checkInputs = [ ament-cmake-gmock ament-cmake-gtest ament-lint-auto ament-lint-common launch-testing ];
propagatedBuildInputs = [ rcl-logging-interface rcutils ];
nativeBuildInputs = [ ament-cmake-ros python3Packages.empy ];
meta = {
description = "An rcl logger implementation that doesn't do anything with log messages.";
license = with lib.licenses; [ asl20 ];
};
}