mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
26 lines
1.1 KiB
Nix
26 lines
1.1 KiB
Nix
|
|
# Copyright 2022 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-humble-python-orocos-kdl-vendor";
|
|
version = "0.2.3-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/orocos_kdl_vendor-release/archive/release/humble/python_orocos_kdl_vendor/0.2.3-1.tar.gz";
|
|
name = "0.2.3-1.tar.gz";
|
|
sha256 = "72815f58f8cb90a0e7d1c62a6a63a5f86a09bd51addf098d482f6f214becebde";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
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" ];
|
|
};
|
|
}
|