1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/jazzy/ros-gz-sim/default.nix

26 lines
1.3 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-python, ament-index-python, ament-lint-auto, ament-lint-common, gflags, gz-math-vendor, gz-msgs-vendor, gz-sim-vendor, gz-transport-vendor, launch, launch-ros, launch-testing, launch-testing-ament-cmake, pkg-config, rclcpp, rclcpp-components, rcpputils, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-ros-gz-sim";
version = "1.0.9-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros_ign-release/archive/release/jazzy/ros_gz_sim/1.0.9-1.tar.gz";
name = "1.0.9-1.tar.gz";
sha256 = "ef016448d8ec1668e9a216e9b4083bee2b481db31fcf2725f7f4ef0be6b63e47";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python pkg-config ];
checkInputs = [ ament-lint-auto ament-lint-common launch-ros launch-testing launch-testing-ament-cmake ];
propagatedBuildInputs = [ ament-index-python gflags gz-math-vendor gz-msgs-vendor gz-sim-vendor gz-transport-vendor launch launch-ros rclcpp rclcpp-components rcpputils std-msgs ];
nativeBuildInputs = [ ament-cmake ament-cmake-python pkg-config ];
meta = {
description = "Tools for using Gazebo Sim simulation with ROS.";
license = with lib.licenses; [ asl20 ];
};
}