1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/galactic/qt-gui/default.nix

29 lines
1.2 KiB
Nix
Raw Normal View History

# Copyright 2021 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-galactic-qt-gui";
version = "2.0.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/qt_gui_core-release/archive/release/galactic/qt_gui/2.0.1-1.tar.gz";
name = "2.0.1-1.tar.gz";
sha256 = "2a62d274523a0e4e9cd64476fdb7614dc289729901f3939c155a05f0009d1ad3";
};
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 ];
};
}