2022-12-09 19:20:15 -05:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2023-07-14 13:38:16 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-vendor-package, curl, file, pkg-config }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-libcurl-vendor";
|
2024-11-22 13:28:00 +00:00
|
|
|
version = "3.6.0-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-11-22 13:28:00 +00:00
|
|
|
url = "https://github.com/ros2-gbp/resource_retriever-release/archive/release/rolling/libcurl_vendor/3.6.0-1.tar.gz";
|
|
|
|
name = "3.6.0-1.tar.gz";
|
|
|
|
sha256 = "4949d4bd960634c5a85f1e20becaad7c437242af32b7b5e4ac35d3a10bc93b01";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2023-07-14 13:38:16 +00:00
|
|
|
buildInputs = [ ament-cmake ament-cmake-vendor-package file ];
|
2022-12-09 19:20:15 -05:00
|
|
|
propagatedBuildInputs = [ curl pkg-config ];
|
2023-07-14 13:38:16 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-vendor-package pkg-config ];
|
2022-12-09 19:20:15 -05: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-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ asl20 mit ];
|
|
|
|
};
|
|
|
|
}
|