2022-06-09 18:50:37 -04:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 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";
|
2024-05-24 14:00:52 +00:00
|
|
|
version = "3.1.2-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-05-24 14:00:52 +00:00
|
|
|
url = "https://github.com/ros2-gbp/resource_retriever-release/archive/release/humble/libcurl_vendor/3.1.2-1.tar.gz";
|
|
|
|
name = "3.1.2-1.tar.gz";
|
|
|
|
sha256 = "e9d1100eb201ed07e31c2549eded35fe16a49c4e862107046a22fed8f69a5c29";
|
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 = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "Wrapper around libcurl, it provides a fixed CMake module and an ExternalProject build of it.";
|
2022-06-09 18:50:37 -04:00
|
|
|
license = with lib.licenses; [ asl20 mit ];
|
|
|
|
};
|
|
|
|
}
|