mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-13 11:14:49 +03:00

Some checks failed
Build / build (humble, aarch64-linux) (push) Has been cancelled
Build / build (humble, x86_64-linux) (push) Has been cancelled
Build / build (jazzy, aarch64-linux) (push) Has been cancelled
Build / build (jazzy, x86_64-linux) (push) Has been cancelled
Build / build (noetic, aarch64-linux) (push) Has been cancelled
Build / build (noetic, x86_64-linux) (push) Has been cancelled
Build / build (rolling, aarch64-linux) (push) Has been cancelled
Build / build (rolling, x86_64-linux) (push) Has been cancelled
36 lines
1.4 KiB
Nix
36 lines
1.4 KiB
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, python3Packages, qt5 }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-python-qt-binding";
|
|
version = "2.4.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/python_qt_binding-release/archive/release/rolling/python_qt_binding/2.4.0-1.tar.gz";
|
|
name = "2.4.0-1.tar.gz";
|
|
sha256 = "d2443d592b0f9f786a31938d13b47003483eb9f11b8fba0be11306edabeb653e";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake qt5.qtbase ];
|
|
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common ];
|
|
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 ];
|
|
};
|
|
}
|