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/rolling/sdformat-urdf/default.nix

25 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, pluginlib, rcutils, sdformat-test-files, sdformat-vendor, tinyxml2-vendor, urdf, urdf-parser-plugin, urdfdom-headers }:
buildRosPackage {
pname = "ros-rolling-sdformat-urdf";
version = "2.0.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/sdformat_urdf-release/archive/release/rolling/sdformat_urdf/2.0.1-1.tar.gz";
name = "2.0.1-1.tar.gz";
sha256 = "a9b5b408134ef36cc16e2352c30a438355ef14cfd5c698141e232b2536431ba0";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common sdformat-test-files ];
propagatedBuildInputs = [ ament-cmake-ros pluginlib rcutils sdformat-vendor tinyxml2-vendor urdf urdf-parser-plugin urdfdom-headers ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "URDF plugin to parse SDFormat XML into URDF C++ DOM objects.";
license = with lib.licenses; [ asl20 ];
};
}