1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-06-21 14:48:39 +03:00
nix-ros-overlay/eloquent/kdl-parser/default.nix

28 lines
1.1 KiB
Nix

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, ament-lint-auto, ament-lint-common, orocos-kdl, tinyxml, tinyxml-vendor, urdf, urdfdom-headers }:
buildRosPackage {
pname = "ros-eloquent-kdl-parser";
version = "2.2.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/kdl_parser-release/archive/release/eloquent/kdl_parser/2.2.0-1.tar.gz";
name = "2.2.0-1.tar.gz";
sha256 = "69da41f6a6398772e8b79e4fe8d327aa4eb8692a066e16a6548bdc0622ccddb9";
};
buildType = "ament_cmake";
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ orocos-kdl tinyxml tinyxml-vendor urdf urdfdom-headers ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = ''The Kinematics and Dynamics Library (KDL) defines a tree structure
to represent the kinematic and dynamic parameters of a robot
mechanism. <tt>kdl_parser</tt> provides tools to construct a KDL
tree from an XML robot representation in URDF.'';
license = with lib.licenses; [ bsdOriginal ];
};
}