1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/foxy/examples-rclcpp-minimal-publisher/default.nix

27 lines
890 B
Nix
Raw Normal View History

# Copyright 2023 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-foxy-examples-rclcpp-minimal-publisher";
version = "0.9.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/foxy/examples_rclcpp_minimal_publisher/0.9.4-1.tar.gz";
name = "0.9.4-1.tar.gz";
sha256 = "c6d9a29dac76a67743a018759f489e1370da3fcf0fa422c119c9e3c031cc796d";
};
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 ];
};
}