mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
27 lines
1.2 KiB
Nix
27 lines
1.2 KiB
Nix
|
|
# Copyright 2025 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-jazzy-python-orocos-kdl-vendor";
|
|
version = "0.5.1-r2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/orocos_kdl_vendor-release/archive/release/jazzy/python_orocos_kdl_vendor/0.5.1-2.tar.gz";
|
|
name = "0.5.1-2.tar.gz";
|
|
sha256 = "c7cf99495b8bf080d5dc3c34ef1cbbf5d2513a255336d7b4e1e0b9696c3e30df";
|
|
};
|
|
|
|
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" ];
|
|
};
|
|
}
|