mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 01:42:24 +03:00
26 lines
1.1 KiB
Nix
26 lines
1.1 KiB
Nix
|
|
# Copyright 2020 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, rclcpp, rcutils, rmw, rmw-implementation-cmake, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-crystal-demo-nodes-cpp";
|
|
version = "0.6.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/crystal/demo_nodes_cpp/0.6.2-0.tar.gz";
|
|
name = "0.6.2-0.tar.gz";
|
|
sha256 = "5def106eb042cfb5259c31fac8c3a80da34a4949ea5f731fd4907f3606df812f";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ rmw-implementation-cmake ];
|
|
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing ];
|
|
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 ];
|
|
};
|
|
}
|