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/yaml-cpp-vendor/default.nix

25 lines
903 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, yaml-cpp }:
buildRosPackage {
pname = "ros-rolling-yaml-cpp-vendor";
version = "9.1.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/yaml_cpp_vendor-release/archive/release/rolling/yaml_cpp_vendor/9.1.0-1.tar.gz";
name = "9.1.0-1.tar.gz";
sha256 = "c49ca6d28ff07d06231a2ab27ffbad93cbefe933f9f1145c5a63af2a8ccb473f";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-vendor-package ];
propagatedBuildInputs = [ yaml-cpp ];
nativeBuildInputs = [ ament-cmake ament-cmake-vendor-package ];
meta = {
description = "Wrapper around yaml-cpp, it provides a fixed CMake module and an ExternalProject build of it.";
license = with lib.licenses; [ asl20 mit ];
};
}