nix-ros-overlay/distros/humble/qt-gui-cpp/default.nix

27 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-pytest, pkg-config, pluginlib, python-qt-binding, qt-gui, qt5, rcpputils, tinyxml2-vendor }:
buildRosPackage {
pname = "ros-humble-qt-gui-cpp";
version = "2.2.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/qt_gui_core-release/archive/release/humble/qt_gui_cpp/2.2.4-1.tar.gz";
name = "2.2.4-1.tar.gz";
sha256 = "2ce8a2500ca3fd90ca09c825168b4a085bf03ccce33714a88610dbd87e141eab";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake pkg-config python-qt-binding qt5.qtbase ];
checkInputs = [ ament-cmake-pytest ];
propagatedBuildInputs = [ pluginlib qt-gui rcpputils tinyxml2-vendor ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "qt_gui_cpp provides the foundation for C++-bindings for qt_gui and creates bindings for every generator available.
At least one specific binding must be available in order to use C++-plugins.";
license = with lib.licenses; [ bsdOriginal ];
};
}