2020-05-23 15:15:06 -04:00
|
|
|
|
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2020-06-12 22:07:37 -04:00
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, python3Packages, qt5, rosbuild }:
|
2020-05-23 15:15:06 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-noetic-python-qt-binding";
|
2020-06-12 13:17:24 +00:00
|
|
|
version = "0.4.3-r1";
|
2020-05-23 15:15:06 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-06-12 13:17:24 +00:00
|
|
|
url = "https://github.com/ros-gbp/python_qt_binding-release/archive/release/noetic/python_qt_binding/0.4.3-1.tar.gz";
|
|
|
|
name = "0.4.3-1.tar.gz";
|
|
|
|
sha256 = "743d59d0e39c3c139521050628ea45a0f2cef9b9e5e536d93eb04062974c3868";
|
2020-05-23 15:15:06 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "catkin";
|
|
|
|
buildInputs = [ qt5.qtbase rosbuild ];
|
2020-06-12 22:07:37 -04:00
|
|
|
propagatedBuildInputs = [ catkin python3Packages.pyqt5 ];
|
2020-05-23 15:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''This stack provides Python bindings for Qt.
|
|
|
|
There are two providers: pyside and pyqt. PySide is released under
|
|
|
|
the LGPL. PyQt is released under the GPL.
|
|
|
|
|
|
|
|
Both the bindings and tools to build bindings are included from each
|
|
|
|
available provider. For PySide, it is called "Shiboken". For PyQt,
|
|
|
|
this is called "SIP".
|
|
|
|
|
|
|
|
Also provided is adapter code to make the user's Python code
|
|
|
|
independent of which binding provider was actually used which makes
|
|
|
|
it very easy to switch between these.'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|