mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-19 16:40:36 +03:00
regenerate all distros, Fri May 28 23:33:17 2021
This commit is contained in:
parent
2753f77330
commit
74a6b9f676
838 changed files with 16928 additions and 1021 deletions
36
distros/galactic/python-qt-binding/default.nix
Normal file
36
distros/galactic/python-qt-binding/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
|
||||
# Copyright 2021 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-galactic-python-qt-binding";
|
||||
version = "1.0.7-r2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ros2-gbp/python_qt_binding-release/archive/release/galactic/python_qt_binding/1.0.7-2.tar.gz";
|
||||
name = "1.0.7-2.tar.gz";
|
||||
sha256 = "a298df8e2f8dd636e6350dcb28261d4b56254f42ad663ebd5df2cb6414a82460";
|
||||
};
|
||||
|
||||
buildType = "ament_cmake";
|
||||
buildInputs = [ 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue