mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-19 05:48:38 +03:00
27 lines
1.3 KiB
Nix
27 lines
1.3 KiB
Nix
![]() |
|
||
|
# Copyright 2020 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, console-bridge, console-bridge-vendor, rcpputils }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-foxy-class-loader";
|
||
|
version = "2.0.1-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/class_loader-release/archive/release/foxy/class_loader/2.0.1-1.tar.gz";
|
||
|
name = "2.0.1-1.tar.gz";
|
||
|
sha256 = "fce5634db80750c334ac74f517280b45625c7dad5d38c07953f6060fc1463926";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
|
||
|
propagatedBuildInputs = [ console-bridge console-bridge-vendor rcpputils ];
|
||
|
nativeBuildInputs = [ ament-cmake ];
|
||
|
|
||
|
meta = {
|
||
|
description = ''The class_loader package is a ROS-independent package for loading plugins during runtime and the foundation of the higher level ROS "pluginlib" library.
|
||
|
class_loader utilizes the host operating system's runtime loader to open runtime libraries (e.g. .so/.dll files), introspect the library for exported plugin classes, and allows users to instantiate objects of these exported classes without the explicit declaration (i.e. header file) for those classes.'';
|
||
|
license = with lib.licenses; [ bsdOriginal ];
|
||
|
};
|
||
|
}
|