nix-ros-overlay/distros/jazzy/examples-rclcpp-minimal-timer/default.nix

27 lines
874 B
Nix
Raw Normal View History

# 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, rclcpp }:
buildRosPackage {
pname = "ros-jazzy-examples-rclcpp-minimal-timer";
version = "0.19.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/jazzy/examples_rclcpp_minimal_timer/0.19.4-1.tar.gz";
name = "0.19.4-1.tar.gz";
sha256 = "e2d1a06ca78b363885244f79d364448d97f34811850ed7580aef32288a85593e";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ rclcpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Examples of minimal nodes which have timers";
license = with lib.licenses; [ asl20 ];
};
}