mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
30 lines
1.2 KiB
Nix
30 lines
1.2 KiB
Nix
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, libcurl-vendor, ament-index-cpp, ament-cmake-ros }:
|
|
buildRosPackage {
|
|
pname = "ros-dashing-resource-retriever";
|
|
version = "2.1.0-r2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/resource_retriever-release/archive/release/dashing/resource_retriever/2.1.0-2.tar.gz";
|
|
name = "2.1.0-2.tar.gz";
|
|
sha256 = "b1d2f1f2351bd63b1e3cd03be2eaae05456e254083a13c307c918cbdfc713a60";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ libcurl-vendor ament-index-cpp ];
|
|
propagatedBuildInputs = [ libcurl-vendor ament-index-cpp ];
|
|
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 ];
|
|
};
|
|
}
|