1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/galactic/kdl-parser/default.nix

29 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2021 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, urdf, urdfdom-headers }:
buildRosPackage {
pname = "ros-galactic-kdl-parser";
version = "2.5.0-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/kdl_parser-release/archive/release/galactic/kdl_parser/2.5.0-2.tar.gz";
name = "2.5.0-2.tar.gz";
sha256 = "c2f3144b150c7da7f4f179a678ffbce2b8424a8358cb3797822f575757f9c04a";
};
buildType = "ament_cmake";
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ orocos-kdl 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 ];
};
}