mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 13:40:32 +03:00
26 lines
930 B
Nix
26 lines
930 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, rclcpp-components, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-examples-rclcpp-minimal-subscriber";
|
|
version = "0.15.2-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/examples-release/archive/release/humble/examples_rclcpp_minimal_subscriber/0.15.2-1.tar.gz";
|
|
name = "0.15.2-1.tar.gz";
|
|
sha256 = "018389c190d5b8024f0099b09f3da91c6f6d8dae0dc65c9e7d7b60648ca9bdf8";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ rclcpp rclcpp-components std-msgs ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = "Examples of minimal subscribers";
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|