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/melodic/qt-gui/default.nix

28 lines
1.1 KiB
Nix
Raw Normal View History

2019-03-21 00:14:59 -04:00
# Copyright 2021 Open Source Robotics Foundation
2019-03-21 00:14:59 -04:00
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, python-qt-binding, pythonPackages, qt5, tango-icon-theme }:
2019-03-21 00:14:59 -04:00
buildRosPackage {
pname = "ros-melodic-qt-gui";
version = "0.4.2-r1";
2019-03-21 00:14:59 -04:00
src = fetchurl {
url = "https://github.com/ros-gbp/qt_gui_core-release/archive/release/melodic/qt_gui/0.4.2-1.tar.gz";
name = "0.4.2-1.tar.gz";
sha256 = "25f883aaa0621d629cabdd188d4f00845aa749127c104dbaf58b3b617f04fa70";
2019-03-21 00:14:59 -04:00
};
buildType = "catkin";
buildInputs = [ pythonPackages.pyqt5 qt5.qtbase ];
propagatedBuildInputs = [ python-qt-binding pythonPackages.rospkg tango-icon-theme ];
nativeBuildInputs = [ catkin pythonPackages.setuptools ];
2019-03-21 00:14:59 -04:00
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 ];
2019-03-21 00:14:59 -04:00
};
}