1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/humble/qt-gui/default.nix
2022-06-11 13:21:09 -04:00

28 lines
1.2 KiB
Nix

# Copyright 2022 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-humble-qt-gui";
version = "2.2.1-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/qt_gui_core-release/archive/release/humble/qt_gui/2.2.1-2.tar.gz";
name = "2.2.1-2.tar.gz";
sha256 = "0752226f4812eab1099c73a590b170c716301b64fc4ddb2d019ba33984380e8b";
};
buildType = "ament_cmake";
buildInputs = [ 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 ];
};
}