1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/foxy/psen-scan-v2/default.nix

26 lines
1.3 KiB
Nix
Raw Normal View History

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-clang-format, ament-cmake-gtest, ament-cmake-ros, ament-cmake-xmllint, ament-index-python, boost, console-bridge, fmt, launch, launch-ros, launch-testing, launch-xml, pythonPackages, rclcpp, rclpy, rcutils, robot-state-publisher, ros-testing, rosbag2-cpp, rosbag2-storage-default-plugins, rviz2, sensor-msgs, xacro }:
buildRosPackage {
pname = "ros-foxy-psen-scan-v2";
version = "0.20.0-r1";
src = fetchurl {
url = "https://github.com/PilzDE/psen_scan_v2-ros2-release/archive/release/foxy/psen_scan_v2/0.20.0-1.tar.gz";
name = "0.20.0-1.tar.gz";
sha256 = "1ef11d8b0abcbfdde06f130e65f3b25edd253b1f4b8c6621aab7a2330882a95b";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-clang-format ament-cmake-gtest ament-cmake-ros ament-cmake-xmllint ament-index-python console-bridge launch launch-ros launch-testing launch-xml pythonPackages.pytest rclpy ros-testing rosbag2-cpp rosbag2-storage-default-plugins ];
propagatedBuildInputs = [ boost fmt launch-ros rclcpp rcutils robot-state-publisher rviz2 sensor-msgs xacro ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''ROS support for the Pilz laser scanner'';
license = with lib.licenses; [ lgpl2 ];
};
}