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/humble/orocos-kdl-vendor/default.nix

27 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, eigen, eigen3-cmake-module, git, orocos-kdl }:
buildRosPackage {
pname = "ros-humble-orocos-kdl-vendor";
version = "0.2.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/orocos_kdl_vendor-release/archive/release/humble/orocos_kdl_vendor/0.2.5-1.tar.gz";
name = "0.2.5-1.tar.gz";
sha256 = "03e2c97ca9048b4ebe04255d442c693a0032671dfb56e85612224ea06b69283a";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake git ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ eigen eigen3-cmake-module orocos-kdl ];
nativeBuildInputs = [ ament-cmake git ];
meta = {
description = "Wrapper around orocos_kdl, providing nothing but a dependency on orocos_kdl on some systems.
On others, it fetches and builds orocos_kdl locally.";
license = with lib.licenses; [ asl20 "LGPL-2.1-or-later" ];
};
}