nix-ros-overlay/distros/humble/intra-process-demo/default.nix

26 lines
1.1 KiB
Nix

# Copyright 2025 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, launch, launch-testing, launch-testing-ament-cmake, opencv, rclcpp, rmw-implementation-cmake, sensor-msgs, std-msgs }:
buildRosPackage {
pname = "ros-humble-intra-process-demo";
version = "0.20.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/humble/intra_process_demo/0.20.5-1.tar.gz";
name = "0.20.5-1.tar.gz";
sha256 = "a042d7073957db92f9d833e267933075905f2e9c647665f03d162a139f17fe2d";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake std-msgs ];
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake rmw-implementation-cmake ];
propagatedBuildInputs = [ opencv opencv.cxxdev rclcpp sensor-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Demonstrations of intra process communication.";
license = with lib.licenses; [ asl20 ];
};
}