1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/melodic/class-loader/default.nix

26 lines
1.2 KiB
Nix
Raw Normal View History

2019-03-21 00:14:59 -04:00
# Copyright 2020 Open Source Robotics Foundation
2019-03-21 00:14:59 -04:00
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, boost, catkin, cmake-modules, console-bridge, poco }:
2019-03-21 00:14:59 -04:00
buildRosPackage {
pname = "ros-melodic-class-loader";
version = "0.4.1";
src = fetchurl {
url = "https://github.com/ros-gbp/class_loader-release/archive/release/melodic/class_loader/0.4.1-0.tar.gz";
name = "0.4.1-0.tar.gz";
2019-03-21 00:14:59 -04:00
sha256 = "09c3d35e5afb806c612e843ef15078b97a0a6051174a45712d38c38345eae4a5";
};
buildType = "catkin";
buildInputs = [ cmake-modules ];
propagatedBuildInputs = [ boost console-bridge poco ];
nativeBuildInputs = [ catkin ];
2019-03-21 00:14:59 -04:00
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 said exported classes without the explicit declaration (i.e. header file) for those classes.'';
license = with lib.licenses; [ bsdOriginal ];
2019-03-21 00:14:59 -04:00
};
}