mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
26 lines
876 B
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.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/examples-release/archive/release/humble/examples_rclcpp_minimal_timer/0.15.1-1.tar.gz";
|
|
name = "0.15.1-1.tar.gz";
|
|
sha256 = "4c1b5104a0e7a51ec3f396c5edb01e94c6304b88d0f88ec0c48a684c1c5c3533";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|