mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-18 13:28:40 +03:00
26 lines
1.2 KiB
Nix
26 lines
1.2 KiB
Nix
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, example-interfaces, launch, launch-ros, launch-testing, launch-testing-ament-cmake, launch-testing-ros, rclcpp, rcutils, rmw, rmw-implementation-cmake, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-dashing-demo-nodes-cpp";
|
|
version = "0.7.9-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/dashing/demo_nodes_cpp/0.7.9-1.tar.gz";
|
|
name = "0.7.9-1.tar.gz";
|
|
sha256 = "537fbf25264d35b51c7a2f5b5d4526221ce7523dd7ce8d337b68d6e753f56a56";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ rmw-implementation-cmake ];
|
|
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake launch-testing-ros ];
|
|
propagatedBuildInputs = [ example-interfaces launch-ros rclcpp rcutils rmw std-msgs ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = ''C++ nodes which were previously in the ros2/examples repository but are now just used for demo purposes.'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|