1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-17 15:40:17 +03:00
nix-ros-overlay/distros/rolling/examples-rclcpp-minimal-timer/default.nix

26 lines
878 B
Nix

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