2022-06-09 18:50:37 -04:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, curl, file, pkg-config }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-libcurl-vendor";
|
2023-01-27 13:23:44 +00:00
|
|
|
version = "3.1.1-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-01-27 13:23:44 +00:00
|
|
|
url = "https://github.com/ros2-gbp/resource_retriever-release/archive/release/humble/libcurl_vendor/3.1.1-1.tar.gz";
|
|
|
|
name = "3.1.1-1.tar.gz";
|
|
|
|
sha256 = "b11a6bd16588b5a04624fa27e7ab49c74f3bb50d57b08d7ca0ff8610a2d3651f";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake file ];
|
2022-06-09 18:50:37 -04:00
|
|
|
propagatedBuildInputs = [ curl pkg-config ];
|
2022-11-04 19:29:56 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake pkg-config ];
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Wrapper around libcurl, it provides a fixed CMake module and an ExternalProject build of it.'';
|
|
|
|
license = with lib.licenses; [ asl20 mit ];
|
|
|
|
};
|
|
|
|
}
|