nix-ros-overlay/distros/rolling/rcl-yaml-param-parser/default.nix

27 lines
1.2 KiB
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-gen-version-h, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, libyaml, libyaml-vendor, mimick-vendor, osrf-testing-tools-cpp, performance-test-fixture, rcutils, rmw }:
buildRosPackage {
pname = "ros-rolling-rcl-yaml-param-parser";
version = "10.2.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rcl-release/archive/release/rolling/rcl_yaml_param_parser/10.2.0-1.tar.gz";
name = "10.2.0-1.tar.gz";
sha256 = "f3729407a0c21c3494ec55f0857a8810e742ecf0caea061e805885ce412f1e11";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-gen-version-h ament-cmake-ros ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common mimick-vendor osrf-testing-tools-cpp performance-test-fixture ];
propagatedBuildInputs = [ libyaml libyaml-vendor rcutils rmw ];
nativeBuildInputs = [ ament-cmake-gen-version-h ament-cmake-ros ];
meta = {
description = "Parse a YAML parameter file and populate the C data structure.";
license = with lib.licenses; [ asl20 ];
};
}