nix-ros-overlay/distros/jazzy/rosidl-runtime-py/default.nix

24 lines
1,006 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, ament-xmllint, python3Packages, rosidl-parser, std-msgs, std-srvs, test-msgs }:
buildRosPackage {
pname = "ros-jazzy-rosidl-runtime-py";
version = "0.13.1-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosidl_runtime_py-release/archive/release/jazzy/rosidl_runtime_py/0.13.1-2.tar.gz";
name = "0.13.1-2.tar.gz";
sha256 = "8a90c8537d52ed5c4d36b3c75b25870b74f8c63c8e2357306ff50b35fe6b68f1";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint python3Packages.pytest std-msgs std-srvs test-msgs ];
propagatedBuildInputs = [ python3Packages.numpy python3Packages.pyyaml rosidl-parser ];
meta = {
description = "Runtime utilities for working with generated ROS interfaces in Python.";
license = with lib.licenses; [ asl20 ];
};
}