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-03-08 13:41:18 +00:00
|
|
|
version = "3.4.0-r2";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-08 13:41:18 +00:00
|
|
|
url = "https://github.com/ros2-gbp/resource_retriever-release/archive/release/rolling/libcurl_vendor/3.4.0-2.tar.gz";
|
|
|
|
name = "3.4.0-2.tar.gz";
|
|
|
|
sha256 = "b59cec4491169d4716fedbca6df54cc92454711980ccffd71d14eb158fb8885b";
|
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 = {
|
|
|
|
description = ''Wrapper around libcurl, it provides a fixed CMake module and an ExternalProject build of it.'';
|
|
|
|
license = with lib.licenses; [ asl20 mit ];
|
|
|
|
};
|
|
|
|
}
|