mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-14 11:38:39 +03:00
35 lines
1.3 KiB
Nix
35 lines
1.3 KiB
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, python3Packages, qt5, rosbuild }:
|
|
buildRosPackage {
|
|
pname = "ros-noetic-python-qt-binding";
|
|
version = "0.4.4-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros-gbp/python_qt_binding-release/archive/release/noetic/python_qt_binding/0.4.4-1.tar.gz";
|
|
name = "0.4.4-1.tar.gz";
|
|
sha256 = "d4db9983e7df47036a7afa16aac5db9e5c3de0de0c9a203fd0a2419456d035a7";
|
|
};
|
|
|
|
buildType = "catkin";
|
|
buildInputs = [ qt5.qtbase rosbuild ];
|
|
propagatedBuildInputs = [ catkin python3Packages.pyqt5 ];
|
|
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 ];
|
|
};
|
|
}
|