nix-ros-overlay/distros/rolling/yaml-cpp-vendor/default.nix

26 lines
903 B
Nix
Raw Permalink Normal View History

# 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.2.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/yaml_cpp_vendor-release/archive/release/rolling/yaml_cpp_vendor/9.2.0-1.tar.gz";
name = "9.2.0-1.tar.gz";
sha256 = "978d795f7697cf93b4dff39a90cd76ff33988ff125817bbbe9990cd6a5f54ce6";
};
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 ];
};
}