nix-ros-overlay/distros/crystal/class-loader/default.nix
2020-01-17 21:21:17 -05:00

26 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, poco, poco-vendor }:
buildRosPackage {
pname = "ros-crystal-class-loader";
version = "1.2.0";
src = fetchurl {
url = "https://github.com/ros2-gbp/class_loader-release/archive/release/crystal/class_loader/1.2.0-0.tar.gz";
name = "1.2.0-0.tar.gz";
sha256 = "eb449f54bbf1fe37e38580e83446b523eb5891f4e187acd4fbce4ec3033c0c56";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ console-bridge console-bridge-vendor poco poco-vendor ];
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 ];
};
}