mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
27 lines
1.1 KiB
Nix
27 lines
1.1 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, python3Packages }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-python-orocos-kdl-vendor";
|
|
version = "0.7.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/orocos_kdl_vendor-release/archive/release/rolling/python_orocos_kdl_vendor/0.7.0-1.tar.gz";
|
|
name = "0.7.0-1.tar.gz";
|
|
sha256 = "71390c209ba95ff1e4b45941c208ac81a22c0785ea7d85e0c47ed9d96a2d4e8e";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ament-cmake-python ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ orocos-kdl-vendor pybind11-vendor python3Packages.pykdl ];
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-python ];
|
|
|
|
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" ];
|
|
};
|
|
}
|