mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
26 lines
899 B
Nix
26 lines
899 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, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-examples-rclcpp-minimal-publisher";
|
|
version = "0.19.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/examples-release/archive/release/rolling/examples_rclcpp_minimal_publisher/0.19.1-1.tar.gz";
|
|
name = "0.19.1-1.tar.gz";
|
|
sha256 = "93dbaac553df3a448d97c20f9cca47023ffa704daec964066c68c68a713ff5f7";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ rclcpp std-msgs ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = ''Examples of minimal publisher nodes'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|