nix-ros-overlay/distros/jazzy/yasmin-viewer/default.nix

26 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-python, ament-copyright, ament-flake8, ament-pep257, python3Packages, rclcpp, rclpy, yasmin, yasmin-msgs, yasmin-ros }:
buildRosPackage {
pname = "ros-jazzy-yasmin-viewer";
version = "3.0.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/yasmin-release/archive/release/jazzy/yasmin_viewer/3.0.3-1.tar.gz";
name = "3.0.3-1.tar.gz";
sha256 = "35d34be2e3a7405998dab62971792317e239d8854553e1518d48dca4903fb042";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python ];
checkInputs = [ ament-copyright ament-flake8 ament-pep257 python3Packages.pytest ];
propagatedBuildInputs = [ python3Packages.expiringdict python3Packages.flask python3Packages.waitress rclcpp rclpy yasmin yasmin-msgs yasmin-ros ];
nativeBuildInputs = [ ament-cmake ament-cmake-python ];
meta = {
description = "TODO: Package description";
license = with lib.licenses; [ "TODO-License-declaration" ];
};
}