1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/foxy/logging-demo/default.nix

27 lines
1.2 KiB
Nix
Raw Normal View History

# Copyright 2020 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-foxy-logging-demo";
version = "0.9.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/foxy/logging_demo/0.9.3-1.tar.gz";
name = "0.9.3-1.tar.gz";
sha256 = "3b28a3c87a26aa056b7fdcae279c3ddddfbbb52b7d09ddd4e2ada722de09e6c6";
};
buildType = "ament_cmake";
buildInputs = [ rosidl-cmake ];
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 ];
};
}