2019-12-09 05:16:46 +00:00
|
|
|
|
2020-01-10 12:36:13 +00:00
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
2019-12-09 05:16:46 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:14:51 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, curl, pkg-config }:
|
2019-12-09 05:16:46 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-eloquent-libcurl-vendor";
|
2019-12-09 23:14:51 -05:00
|
|
|
version = "2.2.1-r1";
|
2019-12-09 05:16:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-09 23:14:51 -05:00
|
|
|
url = "https://github.com/ros2-gbp/resource_retriever-release/archive/release/eloquent/libcurl_vendor/2.2.1-1.tar.gz";
|
|
|
|
name = "2.2.1-1.tar.gz";
|
|
|
|
sha256 = "deec8c7d7ccd382f27d47adb8f22d17190ff41f179f20b7567a10b1ac4d016b3";
|
2019-12-09 05:16:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2019-12-09 23:14:51 -05:00
|
|
|
propagatedBuildInputs = [ curl pkg-config ];
|
2019-12-09 05:16:46 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Wrapper around libcurl, it provides a fixed CMake module and an ExternalProject build of it.'';
|
|
|
|
license = with lib.licenses; [ asl20 mit ];
|
|
|
|
};
|
|
|
|
}
|