nix-ros-overlay/distros/jazzy/rosidl-parser/default.nix

26 lines
952 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-jazzy-rosidl-parser";
version = "4.6.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/jazzy/rosidl_parser/4.6.5-1.tar.gz";
name = "4.6.5-1.tar.gz";
sha256 = "53a6dd4d26ccdddd815f5edbe201e72bdc7cc770b160fdc541286d75d323276f";
};
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 ];
};
}