nix-ros-overlay/distros/jazzy/qt-gui/default.nix

28 lines
1.2 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-index-python, ament-lint-auto, ament-lint-common, python-qt-binding, python3Packages, qt5, tango-icons-vendor }:
buildRosPackage {
pname = "ros-jazzy-qt-gui";
version = "2.7.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/qt_gui_core-release/archive/release/jazzy/qt_gui/2.7.5-1.tar.gz";
name = "2.7.5-1.tar.gz";
sha256 = "fb83dc84c44e972126810ec262ab86bcfc78c988a734483f401a8ca9c2041ecd";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake python3Packages.pyqt5 qt5.qtbase ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ ament-index-python python-qt-binding python3Packages.catkin-pkg tango-icons-vendor ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "qt_gui provides the infrastructure for an integrated graphical user interface based on Qt.
It is extensible with Python- and C++-based plugins (implemented in separate packages) which can contribute arbitrary widgets.
It requires either PyQt or PySide bindings.";
license = with lib.licenses; [ bsdOriginal ];
};
}