nix-ros-overlay/distros/rolling/ros-ign/default.nix

26 lines
1 KiB
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, ros-gz, ros-ign-bridge, ros-ign-gazebo, ros-ign-gazebo-demos, ros-ign-image }:
buildRosPackage {
pname = "ros-rolling-ros-ign";
version = "0.245.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros_ign-release/archive/release/rolling/ros_ign/0.245.0-1.tar.gz";
name = "0.245.0-1.tar.gz";
sha256 = "e470f04184e028214511ee6baf1be8a30a924c3dbe8f26cd41665117a46fa756";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ ros-gz ros-ign-bridge ros-ign-gazebo ros-ign-gazebo-demos ros-ign-image ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Shim meta-package to redirect to <a href="https://github.com/gazebosim/ros_gz/tree/ros2/ros_gz">ros_gz</a>.'';
license = with lib.licenses; [ asl20 ];
};
}