2019-03-21 00:14:59 -04:00
|
|
|
|
2020-01-10 12:36:13 +00:00
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
2019-03-21 00:14:59 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:36:28 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, pythonPackages, qt5, rosbuild }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-python-qt-binding";
|
2020-03-06 18:43:43 +00:00
|
|
|
version = "0.4.0-r1";
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-06 18:43:43 +00:00
|
|
|
url = "https://github.com/ros-gbp/python_qt_binding-release/archive/release/melodic/python_qt_binding/0.4.0-1.tar.gz";
|
|
|
|
name = "0.4.0-1.tar.gz";
|
|
|
|
sha256 = "c73766a7ab4e05e6b82e83a12c802bba2c56a552dcc6268ec6989326289eb6aa";
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
|
2019-09-06 12:26:32 -04:00
|
|
|
buildType = "catkin";
|
2019-12-09 23:36:28 -05:00
|
|
|
buildInputs = [ qt5.qtbase rosbuild ];
|
2019-12-09 05:16:46 +00:00
|
|
|
propagatedBuildInputs = [ catkin pythonPackages.pyqt5 ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
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.'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|