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

26 lines
876 B
Nix

# Copyright 2024 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-humble-examples-rclcpp-minimal-timer";
version = "0.15.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/humble/examples_rclcpp_minimal_timer/0.15.2-1.tar.gz";
name = "0.15.2-1.tar.gz";
sha256 = "91a5ee75d0445ca4d038fd73d1e6147638b3d850d27f15812e5ff239d2de4c11";
};
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 ];
};
}