1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-12 05:16:30 +03:00
nix-ros-overlay/distros/humble/rosidl-parser/default.nix

26 lines
954 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, python3Packages, rosidl-adapter }:
buildRosPackage {
pname = "ros-humble-rosidl-parser";
version = "3.1.6-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/humble/rosidl_parser/3.1.6-1.tar.gz";
name = "3.1.6-1.tar.gz";
sha256 = "d67f10277e9f01ec9a8fee6c0792adf1db76369fa41ba9e42c6d14040b7320d5";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common python3Packages.pytest ];
propagatedBuildInputs = [ python3Packages.lark rosidl-adapter ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "The parser for `.idl` ROS interface files.";
license = with lib.licenses; [ asl20 ];
};
}