mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-16 20:48:40 +03:00
37 lines
1.4 KiB
Nix
37 lines
1.4 KiB
Nix
![]() |
|
||
|
# Copyright 2019 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, python3Packages, ament-lint-common, ament-cmake, qt5, ament-cmake-pytest, ament-lint-auto }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-eloquent-python-qt-binding";
|
||
|
version = "1.0.3-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/python_qt_binding-release/archive/release/eloquent/python_qt_binding/1.0.3-1.tar.gz";
|
||
|
name = "1.0.3-1.tar.gz";
|
||
|
sha256 = "31b3c1b1a8a77269a0111ec649a7441a875b16a67380b3d8cad3a10c23c7ebb2";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
buildInputs = [ python3Packages.pyqt5 qt5.qtbase ];
|
||
|
checkInputs = [ ament-lint-common ament-lint-auto ament-cmake-pytest ];
|
||
|
propagatedBuildInputs = [ python3Packages.pyqt5 ];
|
||
|
nativeBuildInputs = [ ament-cmake ];
|
||
|
|
||
|
meta = {
|
||
|
description = ''This stack provides Python bindings for Qt.
|
||
|
There are two providers: pyside and pyqt. PySide2 is available under
|
||
|
the GPL, LGPL and a commercial license. 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 ];
|
||
|
};
|
||
|
}
|