2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:36:28 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, ament-index-cpp, libcurl-vendor }:
|
2019-09-06 12:16:22 -04:00
|
|
|
buildRosPackage {
|
2019-09-04 17:11:04 -04:00
|
|
|
pname = "ros-dashing-resource-retriever";
|
2019-12-09 05:16:46 +00:00
|
|
|
version = "2.1.2-r1";
|
2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-09 05:16:46 +00:00
|
|
|
url = "https://github.com/ros2-gbp/resource_retriever-release/archive/release/dashing/resource_retriever/2.1.2-1.tar.gz";
|
|
|
|
name = "2.1.2-1.tar.gz";
|
|
|
|
sha256 = "53aec80c0e8de04c3a3665a96c4ad906b6f842a2408ec692851776121ddc5ba9";
|
2019-09-04 17:11:04 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2019-12-09 05:16:46 +00:00
|
|
|
propagatedBuildInputs = [ ament-index-cpp libcurl-vendor ];
|
2019-09-04 17:11:04 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''This package retrieves data from url-format files such as http://,
|
|
|
|
ftp://, package:// file://, etc., and loads the data into memory.
|
|
|
|
The package:// url for ros packages is translated into a local
|
|
|
|
file:// url. The resourse retriever was initially designed to load
|
|
|
|
mesh files into memory, but it can be used for any type of
|
|
|
|
data. The resource retriever is based on the the libcurl library.'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|