mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-16 15:10:33 +03:00
26 lines
866 B
Nix
26 lines
866 B
Nix
![]() |
|
||
|
# Copyright 2021 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-galactic-examples-rclcpp-minimal-subscriber";
|
||
|
version = "0.11.2-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/examples-release/archive/release/galactic/examples_rclcpp_minimal_subscriber/0.11.2-1.tar.gz";
|
||
|
name = "0.11.2-1.tar.gz";
|
||
|
sha256 = "46182e1e9189099eafc3981498f89d0eefaade2bf73623c963e138f363ef5bd4";
|
||
|
};
|
||
|
|
||
|
buildType = "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 ];
|
||
|
};
|
||
|
}
|