2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 05:16:46 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, pythonPackages, rosbuild, catkin, qt5 }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-python-qt-binding";
|
2019-11-07 17:17:35 -05:00
|
|
|
version = "0.3.6-r2";
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-07 17:17:35 -05:00
|
|
|
url = "https://github.com/ros-gbp/python_qt_binding-release/archive/release/melodic/python_qt_binding/0.3.6-2.tar.gz";
|
|
|
|
name = "0.3.6-2.tar.gz";
|
|
|
|
sha256 = "c0da8f11b40cde04f93e39b7f6f384fdaccf0a8e88d18780bf0d854d14876d7a";
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
|
2019-09-06 12:26:32 -04:00
|
|
|
buildType = "catkin";
|
2019-11-07 19:19:39 -05:00
|
|
|
buildInputs = [ pythonPackages.pyqt5 rosbuild qt5.qtbase ];
|
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
|
|
|
};
|
|
|
|
}
|