mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 10:14:50 +03:00
26 lines
888 B
Nix
26 lines
888 B
Nix
|
|
# 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-subscriber";
|
|
version = "0.9.4-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/examples-release/archive/release/foxy/examples_rclcpp_minimal_subscriber/0.9.4-1.tar.gz";
|
|
name = "0.9.4-1.tar.gz";
|
|
sha256 = "1c98167c11f96fb9e906048ea027caba1837810e55d38b7b05684831bdbc9cf2";
|
|
};
|
|
|
|
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 subscribers'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|