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

27 lines
1.2 KiB
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-python, ament-lint-auto, ament-lint-common, orocos-kdl-vendor, pybind11-vendor, python-cmake-module, python3Packages }:
buildRosPackage {
pname = "ros-iron-python-orocos-kdl-vendor";
version = "0.3.4-r3";
src = fetchurl {
url = "https://github.com/ros2-gbp/orocos_kdl_vendor-release/archive/release/iron/python_orocos_kdl_vendor/0.3.4-3.tar.gz";
name = "0.3.4-3.tar.gz";
sha256 = "b5380ee76e89d906cedbde15a78a20e6dbda813c3bac3778c0c3125e5b9d74b6";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python python-cmake-module ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ orocos-kdl-vendor pybind11-vendor python3Packages.pykdl ];
nativeBuildInputs = [ ament-cmake ament-cmake-python python-cmake-module ];
meta = {
description = "Wrapper around PyKDL, providing nothing but a dependency on PyKDL on some systems.
On others, it fetches and builds python_orocos_kdl locally.";
license = with lib.licenses; [ asl20 "LGPL-2.1-or-later" ];
};
}