2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-09-05 22:48:11 -04:00
|
|
|
{ lib, buildRosPackage, fetchurl, curl, ament-cmake, pkg-config }:
|
2019-09-04 17:11:04 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-crystal-libcurl-vendor";
|
|
|
|
version = "2.1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/ros2-gbp/resource_retriever-release/archive/release/crystal/libcurl_vendor/2.1.0-0.tar.gz;
|
|
|
|
sha256 = "904b586704ed7f517291b7e7a863772b6cc3c2819fd2a2f1d9fce1f2d1b26708";
|
|
|
|
};
|
|
|
|
|
2019-09-05 22:48:11 -04:00
|
|
|
buildType = "ament_cmake";
|
2019-09-04 17:11:04 -04:00
|
|
|
buildInputs = [ curl ];
|
2019-09-05 22:48:11 -04:00
|
|
|
propagatedBuildInputs = [ curl pkg-config ];
|
2019-09-04 17:11:04 -04: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 ];
|
|
|
|
};
|
|
|
|
}
|