nix-ros-overlay/distros/jazzy/py-binding-tools/default.nix

26 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-cmake-python, ament-lint-auto, ament-lint-common, geometry-msgs, pybind11-vendor, rclcpp, rclpy, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-py-binding-tools";
version = "2.0.1-r1";
src = fetchurl {
url = "https://github.com/ros-gbp/py_binding_tools-release/archive/release/jazzy/py_binding_tools/2.0.1-1.tar.gz";
name = "2.0.1-1.tar.gz";
sha256 = "172f2d3fc150754529df7313ff4939eeb67914113790d68c7db33e7ad1e3dc74";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python ];
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common rclpy std-msgs ];
propagatedBuildInputs = [ geometry-msgs pybind11-vendor rclcpp ];
nativeBuildInputs = [ ament-cmake ament-cmake-python ];
meta = {
description = "Python binding tools for C++";
license = with lib.licenses; [ bsdOriginal ];
};
}