mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
28 lines
1.2 KiB
Nix
28 lines
1.2 KiB
Nix
|
|
# 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-foxy-qt-gui";
|
|
version = "1.1.2-r2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/qt_gui_core-release/archive/release/foxy/qt_gui/1.1.2-2.tar.gz";
|
|
name = "1.1.2-2.tar.gz";
|
|
sha256 = "4c8a1a6533a89a256b2b329d73368ab5ed2d28ad4b1f20b5d89478cd6ac9f6c4";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|