mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
26 lines
1,022 B
Nix
26 lines
1,022 B
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-copyright, ament-cmake-lint-cmake, ament-cmake-xmllint, ament-lint-auto, leo-gz-bringup, leo-gz-plugins, leo-gz-worlds }:
|
|
buildRosPackage {
|
|
pname = "ros-jazzy-leo-simulator";
|
|
version = "2.0.2-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/leo_simulator-release/archive/release/jazzy/leo_simulator/2.0.2-1.tar.gz";
|
|
name = "2.0.2-1.tar.gz";
|
|
sha256 = "704ea56f7d43aeddf2611baba963a2a3fa0a5989ce5d41cad5d599576f857185";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ];
|
|
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ament-cmake-xmllint ament-lint-auto ];
|
|
propagatedBuildInputs = [ leo-gz-bringup leo-gz-plugins leo-gz-worlds ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = "Metapackage for Leo Rover Gazebo simulation in ROS2";
|
|
license = with lib.licenses; [ mit ];
|
|
};
|
|
}
|