1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/rolling/libcurl-vendor/default.nix

25 lines
940 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-vendor-package, curl, file, pkg-config }:
buildRosPackage {
pname = "ros-rolling-libcurl-vendor";
version = "3.6.0-r1";
src = fetchurl {
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";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-vendor-package file ];
propagatedBuildInputs = [ curl pkg-config ];
nativeBuildInputs = [ ament-cmake ament-cmake-vendor-package pkg-config ];
meta = {
description = "Wrapper around libcurl, it provides a fixed CMake module and an ExternalProject build of it.";
license = with lib.licenses; [ asl20 mit ];
};
}